Home
last modified time | relevance | path

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

/php-src/ext/calendar/
H A Dgregor.c135 #define DAYS_PER_400_YEARS 146097 macro
156 if (temp < 0 || (temp / DAYS_PER_400_YEARS) > INT_MAX) { in SdnToGregorian()
161 century = temp / DAYS_PER_400_YEARS; in SdnToGregorian()
164 temp = ((temp % DAYS_PER_400_YEARS) / 4) * 4 + 3; in SdnToGregorian()
235 return (((year / 100) * DAYS_PER_400_YEARS) / 4 in GregorianToSdn()

Completed in 6 milliseconds