Home
last modified time | relevance | path

Searched refs:DAYS_PER_ERA (Results 1 – 3 of 3) sorted by relevance

/PHP-8.2/ext/date/lib/
H A Dunixtime2tm.c43 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()
H A Dtm2unixtime.c121 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()
H A Dtimelib_private.h98 #define DAYS_PER_ERA 146097 macro

Completed in 8 milliseconds