Searched refs:day_of_era (Results 1 – 2 of 2) sorted by relevance
32 timelib_ull day_of_era, year_of_era, day_of_year, month_portion; in timelib_unixtime2date() local44 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()
456 timelib_sll era, year_of_era, day_of_year, day_of_era; in timelib_epoch_days_from_time() local462 …day_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()464 return era * DAYS_PER_ERA + day_of_era - HINNANT_EPOCH_SHIFT; in timelib_epoch_days_from_time()
Completed in 7 milliseconds