Searched defs:dow (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/date/lib/
H A Ddow.c33 timelib_sll c1, y1, m1, dow; local
41 dow = (c1 + y1 + m1 + (y1 / 4) + d) % 7;
43 if (dow == 0) {
44 dow = 7;
47 return dow;
126 timelib_sll dow, day; local
129 dow = timelib_day_of_week(y, 1, 1);
131 day = 0 - (dow > 4 ? dow - 7 : dow);
[all...]
H A Dtm2unixtime.c222 timelib_sll count, dow, rem; local
225 dow = timelib_day_of_week(time->y, time->m, time->d);
236 if (dow == 0) {
238 } else if (dow == 6) {
241 } else if (dow == 6) {
245 } else if (dow + rem > 5) {
255 if (dow == 6) {
257 } else if (dow == 0) {
260 } else if (dow == 0) {
262 } else if (dow
[all...]
/PHP_TRUNK/ext/calendar/
H A Dcalendar.c391 int month, day, year, dow; local
417 dow = DayOfWeek(jd);
418 add_assoc_long(return_value, "dow", dow);
419 add_assoc_string(return_value, "abbrevdayname", DayNameShort[dow]);
420 add_assoc_string(return_value, "dayname", DayNameLong[dow]);
H A Ddow.c2 /* $selId: dow.c,v 2.0 1995/10/24 01:13:06 lees Exp $
37 int dow; local
39 dow = (sdn + 1) % 7;
40 if (dow >= 0) {
41 return (dow);
43 return (dow + 7);
H A Djewish.c391 int dow; local
396 dow = tishri1 % 7;
406 ((!leapYear) && dow == TUESDAY && moladHalakim >= AM3_11_20) ||
407 (lastWasLeapYear && dow == MONDAY && moladHalakim >= AM9_32_43)) {
409 dow++;
410 if (dow == 7) {
411 dow = 0;
416 if (dow == WEDNESDAY || dow == FRIDAY || dow
[all...]
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_methods.cpp617 zend_ulong dow; local
621 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) {
627 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) {
636 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co));
810 zend_long dow; local
814 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) {
820 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) {
828 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow,
956 zend_long dow; local
[all...]

Completed in 18 milliseconds