Searched refs:sdn (Results 1 – 6 of 6) sorted by relevance
/PHP-7.2/ext/calendar/ |
H A D | jewish.c | 549 zend_long sdn, in SdnToJewish() argument 563 if (sdn <= JEWISH_SDN_OFFSET || sdn > JEWISH_SDN_MAX) { in SdnToJewish() 692 zend_long sdn; in JewishToSdn() local 712 sdn = tishri1 + day - 1; in JewishToSdn() 714 sdn = tishri1 + day + 29; in JewishToSdn() 734 sdn = tishri1 + day + 59; in JewishToSdn() 736 sdn = tishri1 + day + 58; in JewishToSdn() 782 sdn = tishri1After + day - 89; in JewishToSdn() 785 sdn = tishri1After + day - 60; in JewishToSdn() 788 sdn = tishri1After + day - 30; in JewishToSdn() [all …]
|
H A D | sdncal.h | 71 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 D | french.c | 96 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 D | julian.c | 156 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 D | gregor.c | 138 zend_long sdn, in SdnToGregorian() argument 150 if (sdn <= 0 || in SdnToGregorian() 151 sdn > (LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) { in SdnToGregorian() 154 temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1; in SdnToGregorian()
|
H A D | dow.c | 34 zend_long sdn) in DayOfWeek() argument 38 dow = (sdn + 1) % 7; in DayOfWeek()
|
Completed in 24 milliseconds