Searched refs:DAYS_PER_ERA (Results 1 – 3 of 3) sorted by relevance
43 era = (days >= 0 ? days : days - DAYS_PER_ERA + 1) / DAYS_PER_ERA; in timelib_unixtime2date()44 day_of_era = days - era * DAYS_PER_ERA; in timelib_unixtime2date()
121 if (*d >= DAYS_PER_ERA || *d <= -DAYS_PER_ERA) { in do_range_limit_days()122 *y += YEARS_PER_ERA * (*d / DAYS_PER_ERA); in do_range_limit_days()123 *d -= DAYS_PER_ERA * (*d / DAYS_PER_ERA); in do_range_limit_days()464 return era * DAYS_PER_ERA + day_of_era - HINNANT_EPOCH_SHIFT; in timelib_epoch_days_from_time()
98 #define DAYS_PER_ERA 146097 macro
Completed in 8 milliseconds