Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/time/
Dgmtime_r.c50 #define DAYS_PER_ERA 146097L macro
96 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()