Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/time/
Dgmtime_r.c71 unsigned erayear, yearday, month, day; in gmtime_r() local
98 erayear = (eraday - eraday / (DAYS_PER_4_YEARS - 1) + eraday / DAYS_PER_CENTURY - in gmtime_r()
100 yearday = eraday - (DAYS_PER_YEAR * erayear + erayear / 4 - erayear / 100); /* [0, 365] */ in gmtime_r()
104 year = ADJUSTED_EPOCH_YEAR + erayear + era * YEARS_PER_ERA + (month <= 1); in gmtime_r()
108 yearday + DAYS_IN_JANUARY + DAYS_IN_FEBRUARY + isleap(erayear); in gmtime_r()