41 #define JULIAN_DAY_NUMBER_AT_ABSOLUTE_DAY_ONE INT64_C(1721425)
43 #define DAYS_IN_NORMAL_YEAR INT32_C(365)
44 #define DAYS_IN_LEAP_YEAR INT32_C(366)
46 #define UNIX_EPOCH_MIN_YEARS 1970
47 #define UNIX_EPOCH_MAX_YEARS 2038
49 #define CALENDAR_YY_PART_YEAR 70
61 #define GREGORIAN_DAYS_IN_400_YEARS UINT32_C(146097)
62 #define GREGORIAN_DAYS_IN_100_YEARS UINT32_C(36524)
63 #define GREGORIAN_DAYS_IN_4_YEARS UINT32_C(1461)
123 , uint32_t *month_out
124 , uint32_t *day_out);
138 , uint32_t *month_out
139 , uint32_t *day_out);
190 inline static bool num_leap_years(uint32_t y,
enum calendar c)
192 return (c == GREGORIAN
224 uint32_t
day_of_week(int64_t day_number,
bool sunday_is_first_day_of_week);
272 ,
bool sunday_is_first_day_of_week);