Searched refs:eraday (Results 1 – 1 of 1) sorted by relevance
72 unsigned long eraday; in gmtime_r() local97 eraday = days - era * DAYS_PER_ERA; /* [0, 146096] */ in gmtime_r()98 erayear = (eraday - eraday / (DAYS_PER_4_YEARS - 1) + eraday / DAYS_PER_CENTURY - in gmtime_r()99 eraday / (DAYS_PER_ERA - 1)) / 365; /* [0, 399] */ in gmtime_r()100 yearday = eraday - (DAYS_PER_YEAR * erayear + erayear / 4 - erayear / 100); /* [0, 365] */ in gmtime_r()