Home
last modified time | relevance | path

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

/PHP-5.4/ext/calendar/
H A Ddow.c37 int dow; in DayOfWeek() local
39 dow = (sdn + 1) % 7; in DayOfWeek()
40 if (dow >= 0) { in DayOfWeek()
41 return (dow); in DayOfWeek()
43 return (dow + 7); in DayOfWeek()
H A Djewish.c351 int dow; in Tishri1() local
356 dow = tishri1 % 7; in Tishri1()
366 ((!leapYear) && dow == TUESDAY && moladHalakim >= AM3_11_20) || in Tishri1()
367 (lastWasLeapYear && dow == MONDAY && moladHalakim >= AM9_32_43)) { in Tishri1()
369 dow++; in Tishri1()
370 if (dow == 7) { in Tishri1()
371 dow = 0; in Tishri1()
376 if (dow == WEDNESDAY || dow == FRIDAY || dow == SUNDAY) { in Tishri1()
H A Dconfig.w327 EXTENSION("calendar", "calendar.c dow.c french.c gregor.c jewish.c \
H A Dconfig.m410 …PHP_NEW_EXTENSION(calendar, calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix…
H A Dcalendar.c390 int month, day, year, dow; in PHP_FUNCTION() local
416 dow = DayOfWeek(jd); in PHP_FUNCTION()
417 add_assoc_long(return_value, "dow", dow); in PHP_FUNCTION()
418 add_assoc_string(return_value, "abbrevdayname", DayNameShort[dow], 1); in PHP_FUNCTION()
419 add_assoc_string(return_value, "dayname", DayNameLong[dow], 1); in PHP_FUNCTION()
/PHP-5.4/ext/date/lib/
H A Ddow.c33 timelib_sll c1, y1, m1, dow; in timelib_day_of_week_ex() local
41 dow = (c1 + y1 + m1 + (y1 / 4) + d) % 7; in timelib_day_of_week_ex()
43 if (dow == 0) { in timelib_day_of_week_ex()
44 dow = 7; in timelib_day_of_week_ex()
47 return dow; in timelib_day_of_week_ex()
126 timelib_sll dow, day; in timelib_daynr_from_weeknr() local
129 dow = timelib_day_of_week(y, 1, 1); in timelib_daynr_from_weeknr()
131 day = 0 - (dow > 4 ? dow - 7 : dow); in timelib_daynr_from_weeknr()
/PHP-5.4/ext/calendar/tests/
H A Dcal_from_jd.phpt19 [dow] => 0
31 [dow] => 5
43 [dow] => 4
55 [dow] => 1
H A Dbug53574_1.phpt25 ["dow"]=>
H A Dbug53574_2.phpt25 ["dow"]=>
H A Dbug55797_1.phpt25 ["dow"]=>
H A Dbug55797_2.phpt25 ["dow"]=>
/PHP-5.4/ext/date/
H A Dconfig.w325 ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime…
H A Dconfig0.m48 timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c
/PHP-5.4/win32/
H A Dphp5dllts.dsp781 SOURCE=..\ext\calendar\dow.c
2254 SOURCE=..\ext\date\lib\dow.c
H A Dphp5dll.dsp927 SOURCE=..\ext\calendar\dow.c

Completed in 27 milliseconds