Home
last modified time | relevance | path

Searched refs:day_of_era (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/date/lib/
H A Dunixtime2tm.c32 timelib_ull day_of_era, year_of_era, day_of_year, month_portion; in timelib_unixtime2date() local
44 day_of_era = days - era * DAYS_PER_ERA; in timelib_unixtime2date()
45 …year_of_era = (day_of_era - day_of_era / 1460 + day_of_era / 36524 - day_of_era / 146096) / DAYS_P… in timelib_unixtime2date()
47 day_of_year = day_of_era - (DAYS_PER_YEAR * year_of_era + year_of_era / 4 - year_of_era / 100); in timelib_unixtime2date()
H A Dtm2unixtime.c444 timelib_sll era, year_of_era, day_of_year, day_of_era; in timelib_epoch_days_from_time() local
450day_of_era = year_of_era * DAYS_PER_YEAR + year_of_era / 4 - year_of_era / 100 + day_of_year; // [… in timelib_epoch_days_from_time()
452 return era * DAYS_PER_ERA + day_of_era - HINNANT_EPOCH_SHIFT; in timelib_epoch_days_from_time()

Completed in 9 milliseconds