Searched defs:dow (Results 1 - 6 of 6) sorted by relevance
| /PHP_TRUNK/ext/calendar/ |
| H A D | dow.c | 2 /* $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 D | jewish.c | 390 int dow; local 395 dow = tishri1 % 7; 405 ((!leapYear) && dow == TUESDAY && moladHalakim >= AM3_11_20) || 406 (lastWasLeapYear && dow == MONDAY && moladHalakim >= AM9_32_43)) { 408 dow++; 409 if (dow == 7) { 410 dow = 0; 415 if (dow == WEDNESDAY || dow == FRIDAY || dow [all...] |
| H A D | calendar.c | 393 int month, day, year, dow; local 419 dow = DayOfWeek(jd); 420 add_assoc_long(return_value, "dow", dow); 421 add_assoc_string(return_value, "abbrevdayname", DayNameShort[dow], 1); 422 add_assoc_string(return_value, "dayname", DayNameLong[dow], 1);
|
| /PHP_TRUNK/ext/date/lib/ |
| H A D | dow.c | 36 timelib_sll c1, y1, m1, dow; local 47 dow = (c1 + y1 + m1 + (y1 / 4) + d) % 7; 49 if (dow == 0) { 50 dow = 7; 53 return dow; 132 timelib_sll dow, day; local 135 dow = timelib_day_of_week(y, 1, 1); 137 day = 0 - (dow > 4 ? dow - 7 : dow); [all...] |
| H A D | tm2unixtime.c | 223 timelib_sll count, dow, rem; local 226 dow = timelib_day_of_week(time->y, time->m, time->d); 237 if (dow == 0) { 239 } else if (dow == 6) { 242 } else if (dow == 6) { 246 } else if (dow + rem > 5) { 256 if (dow == 6) { 258 } else if (dow == 0) { 261 } else if (dow == 0) { 263 } else if (dow [all...] |
| /PHP_TRUNK/ext/intl/calendar/ |
| H A D | calendar_methods.cpp | 619 long dow; local 623 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) { 629 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) { 638 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co)); 812 long dow; local 816 "Ol", &object, Calendar_ce_ptr, &dow) == FAILURE) { 822 if (dow < UCAL_SUNDAY || dow > UCAL_SATURDAY) { 830 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow, 958 long dow; local [all...] |
Completed in 19 milliseconds