20 #ifndef LIBCALENDAR_SOLAR_HIJRI_H 21 #define LIBCALENDAR_SOLAR_HIJRI_H 36 int16_t year, uint8_t month, uint16_t day);
38 int16_t* year, uint8_t* month, uint16_t* day);
40 int16_t* gyear, uint8_t* gmonth, uint16_t* gday);
42 int16_t* jyear, uint8_t* jmonth, uint16_t* jday);
LIBCALENDAR_API void gr_to_sh(int16_t gyear, uint8_t gmonth, uint16_t gday, int16_t *jyear, uint8_t *jmonth, uint16_t *jday)
Definition: cl-solar-hijri.c:176
LIBCALENDAR_API uint8_t sh_month_in_year(int16_t year)
Definition: cl-solar-hijri.c:74
LIBCALENDAR_API uint8_t sh_is_leap(int16_t year)
Definition: cl-solar-hijri.c:40
LIBCALENDAR_API void jdn_to_sh(uint32_t jdn, int16_t *year, uint8_t *month, uint16_t *day)
Definition: cl-solar-hijri.c:142
#define LIBCALENDAR_API
Definition: cl-export.h:33
LIBCALENDAR_API void sh_to_gr(int16_t jyear, uint8_t jmonth, uint16_t jday, int16_t *gyear, uint8_t *gmonth, uint16_t *gday)
Definition: cl-solar-hijri.c:168
LIBCALENDAR_API uint8_t sh_days_in_month(uint8_t month, int16_t year)
Definition: cl-solar-hijri.c:52
LIBCALENDAR_API uint16_t sh_days_in_year(int16_t year)
Definition: cl-solar-hijri.c:70
LIBCALENDAR_API uint8_t sh_is_valid(int16_t year, uint8_t month, uint16_t day)
Definition: cl-solar-hijri.c:78
LIBCALENDAR_API void sh_to_jdn(uint32_t *jd, int16_t year, uint8_t month, uint16_t day)
Definition: cl-solar-hijri.c:118