Searched refs:dow (Results 1 – 17 of 17) sorted by relevance
/PHP-5.5/ext/calendar/ |
H A D | dow.c | 37 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 D | jewish.c | 391 int dow; in Tishri1() local 396 dow = tishri1 % 7; in Tishri1() 406 ((!leapYear) && dow == TUESDAY && moladHalakim >= AM3_11_20) || in Tishri1() 407 (lastWasLeapYear && dow == MONDAY && moladHalakim >= AM9_32_43)) { in Tishri1() 409 dow++; in Tishri1() 410 if (dow == 7) { in Tishri1() 411 dow = 0; in Tishri1() 416 if (dow == WEDNESDAY || dow == FRIDAY || dow == SUNDAY) { in Tishri1()
|
H A D | config.w32 | 7 EXTENSION("calendar", "calendar.c dow.c french.c gregor.c jewish.c \
|
H A D | config.m4 | 10 …PHP_NEW_EXTENSION(calendar, calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix…
|
H A D | calendar.c | 393 int month, day, year, dow; in PHP_FUNCTION() local 419 dow = DayOfWeek(jd); in PHP_FUNCTION() 420 add_assoc_long(return_value, "dow", dow); in PHP_FUNCTION() 421 add_assoc_string(return_value, "abbrevdayname", DayNameShort[dow], 1); in PHP_FUNCTION() 422 add_assoc_string(return_value, "dayname", DayNameLong[dow], 1); in PHP_FUNCTION()
|
/PHP-5.5/ext/date/lib/ |
H A D | dow.c | 45 timelib_sll c1, y1, m1, dow; in timelib_day_of_week_ex() local 53 dow = positive_mod((c1 + y1 + m1 + (y1 / 4) + d), 7); in timelib_day_of_week_ex() 55 if (dow == 0) { in timelib_day_of_week_ex() 56 dow = 7; in timelib_day_of_week_ex() 59 return dow; in timelib_day_of_week_ex() 138 timelib_sll dow, day; in timelib_daynr_from_weeknr() local 141 dow = timelib_day_of_week(y, 1, 1); in timelib_daynr_from_weeknr() 143 day = 0 - (dow > 4 ? dow - 7 : dow); in timelib_daynr_from_weeknr()
|
H A D | tm2unixtime.c | 224 timelib_sll count, dow, rem; in do_adjust_special_weekday() local 227 dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_special_weekday() 238 if (dow == 0) { in do_adjust_special_weekday() 240 } else if (dow == 6) { in do_adjust_special_weekday() 243 } else if (dow == 6) { in do_adjust_special_weekday() 247 } else if (dow + rem > 5) { in do_adjust_special_weekday() 257 if (dow == 6) { in do_adjust_special_weekday() 259 } else if (dow == 0) { in do_adjust_special_weekday() 262 } else if (dow == 0) { in do_adjust_special_weekday() 264 } else if (dow + rem < 1) { in do_adjust_special_weekday()
|
/PHP-5.5/ext/calendar/tests/ |
H A D | cal_from_jd.phpt | 19 [dow] => 0 31 [dow] => 5 43 [dow] => 4 55 [dow] => 1
|
H A D | bug53574_1.phpt | 25 ["dow"]=>
|
H A D | bug53574_2.phpt | 25 ["dow"]=>
|
H A D | bug55797_1.phpt | 25 ["dow"]=>
|
H A D | bug55797_2.phpt | 25 ["dow"]=>
|
/PHP-5.5/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 618 long dow; in PHP_FUNCTION() local 622 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) { in PHP_FUNCTION() 628 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) { in PHP_FUNCTION() 637 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() 811 long dow; in PHP_FUNCTION() local 815 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) { in PHP_FUNCTION() 821 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) { in PHP_FUNCTION() 957 long dow; in PHP_FUNCTION() local 961 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) { in PHP_FUNCTION() 967 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) { in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/date/ |
H A D | config.w32 | 5 ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime…
|
H A D | config0.m4 | 8 timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c
|
/PHP-5.5/win32/ |
H A D | php5dllts.dsp | 773 SOURCE=..\ext\calendar\dow.c 2246 SOURCE=..\ext\date\lib\dow.c
|
H A D | php5dll.dsp | 919 SOURCE=..\ext\calendar\dow.c
|
Completed in 31 milliseconds