Searched refs:DAYS_PER_ERA (Results 1 – 1 of 1) sorted by relevance
50 #define DAYS_PER_ERA 146097L macro96 era = (days >= 0 ? days : days - (DAYS_PER_ERA - 1)) / DAYS_PER_ERA; in gmtime_r()97 eraday = days - era * DAYS_PER_ERA; /* [0, 146096] */ in gmtime_r()99 eraday / (DAYS_PER_ERA - 1)) / 365; /* [0, 399] */ in gmtime_r()