Home
last modified time | relevance | path

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

/php-src/ext/calendar/
H A Dfrench.c90 #define DAYS_PER_4_YEARS 1461 macro
111 *pYear = temp / DAYS_PER_4_YEARS; in SdnToFrench()
112 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4; in SdnToFrench()
128 return ((year * DAYS_PER_4_YEARS) / 4 in FrenchToSdn()
H A Dgregor.c134 #define DAYS_PER_4_YEARS 1461 macro
166 if (century > ((INT_MAX / 100) - (temp / DAYS_PER_4_YEARS))) { in SdnToGregorian()
170 year = (century * 100) + (temp / DAYS_PER_4_YEARS); in SdnToGregorian()
171 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1; in SdnToGregorian()
241 + ((year % 100) * DAYS_PER_4_YEARS) / 4 in GregorianToSdn()
H A Djulian.c153 #define DAYS_PER_4_YEARS 1461 macro
178 long yearl = temp / DAYS_PER_4_YEARS; in SdnToJulian()
184 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1; in SdnToJulian()
250 return ((year * DAYS_PER_4_YEARS) / 4 in JulianToSdn()

Completed in 6 milliseconds