Home
last modified time | relevance | path

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

/PHP-5.3/ext/calendar/
H A Djewish.c509 long int sdn, in SdnToJewish() argument
523 if (sdn <= JEWISH_SDN_OFFSET || sdn > JEWISH_SDN_MAX) { in SdnToJewish()
652 long int sdn; in JewishToSdn() local
672 sdn = tishri1 + day - 1; in JewishToSdn()
674 sdn = tishri1 + day + 29; in JewishToSdn()
694 sdn = tishri1 + day + 59; in JewishToSdn()
696 sdn = tishri1 + day + 58; in JewishToSdn()
742 sdn = tishri1After + day - 89; in JewishToSdn()
745 sdn = tishri1After + day - 60; in JewishToSdn()
748 sdn = tishri1After + day - 30; in JewishToSdn()
[all …]
H A Dsdncal.h69 void SdnToGregorian(long int sdn, int *pYear, int *pMonth, int *pDay);
75 void SdnToJulian(long int sdn, int *pYear, int *pMonth, int *pDay);
79 void SdnToJewish(long int sdn, int *pYear, int *pMonth, int *pDay);
85 void SdnToFrench(long int sdn, int *pYear, int *pMonth, int *pDay);
93 int DayOfWeek(long int sdn);
H A Djulian.c156 long int 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 Dfrench.c96 long int 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 Dgregor.c138 long int 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 Ddow.c35 long int sdn) in DayOfWeek() argument
39 dow = (sdn + 1) % 7; in DayOfWeek()

Completed in 12 milliseconds