Home
last modified time | relevance | path

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

/php-src/ext/calendar/
H A Djewish.c560 zend_long sdn, in SdnToJewish() argument
574 if (sdn <= JEWISH_SDN_OFFSET || sdn > JEWISH_SDN_MAX) { in SdnToJewish()
703 zend_long sdn; in JewishToSdn() local
723 sdn = tishri1 + day - 1; in JewishToSdn()
725 sdn = tishri1 + day + 29; in JewishToSdn()
745 sdn = tishri1 + day + 59; in JewishToSdn()
747 sdn = tishri1 + day + 58; in JewishToSdn()
793 sdn = tishri1After + day - 89; in JewishToSdn()
796 sdn = tishri1After + day - 60; in JewishToSdn()
799 sdn = tishri1After + day - 30; in JewishToSdn()
[all …]
H A Dsdncal.h71 void SdnToGregorian(zend_long sdn, int *pYear, int *pMonth, int *pDay);
77 void SdnToJulian(zend_long sdn, int *pYear, int *pMonth, int *pDay);
81 void SdnToJewish(zend_long sdn, int *pYear, int *pMonth, int *pDay);
90 void SdnToFrench(zend_long sdn, int *pYear, int *pMonth, int *pDay);
98 int DayOfWeek(zend_long sdn);
H A Dfrench.c96 zend_long sdn, in SdnToFrench() argument
104 if (sdn < FIRST_VALID || sdn > LAST_VALID) { in SdnToFrench()
110 temp = (sdn - FRENCH_SDN_OFFSET) * 4 - 1; in SdnToFrench()
H A Djulian.c156 zend_long sdn, in SdnToJulian() argument
167 if (sdn <= 0) { in SdnToJulian()
171 if (sdn > (LONG_MAX - JULIAN_SDN_OFFSET * 4 + 1) / 4 || sdn < LONG_MIN / 4) { in SdnToJulian()
174 temp = sdn * 4 + (JULIAN_SDN_OFFSET * 4 - 1); in SdnToJulian()
H A Ddow.c34 zend_long sdn) in DayOfWeek() argument
36 return (int)(sdn % 7 + 8) % 7; in DayOfWeek()
H A Dgregor.c138 zend_long sdn, in SdnToGregorian() argument
150 if (sdn <= 0 || in SdnToGregorian()
151 sdn > (ZEND_LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) { in SdnToGregorian()
154 temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1; in SdnToGregorian()

Completed in 10 milliseconds