Searched refs:YEARS_PER_ERA (Results 1 – 3 of 3) sorted by relevance
99 #define YEARS_PER_ERA 400 macro
122 *y += YEARS_PER_ERA * (*d / DAYS_PER_ERA); in do_range_limit_days()459 era = (y >= 0 ? y : y - 399) / YEARS_PER_ERA; in timelib_epoch_days_from_time()460 …year_of_era = y - era * YEARS_PER_ERA; // [… in timelib_epoch_days_from_time()
46 *y = year_of_era + era * YEARS_PER_ERA; in timelib_unixtime2date()
Completed in 9 milliseconds