/external/chromium_org/third_party/icu/source/i18n/ |
gregoimp.cpp | 97 int32_t& dom, int32_t& dow, int32_t& doy) { 120 dow = (int32_t) uprv_fmod(day + 1, 7); 121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; 135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { 139 dayToFields(day, year, month, dom, dow, doy); 143 int32_t dow; local 144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); 145 return (dow == 0) ? UCAL_SATURDAY : dow; [all...] |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 168 // Create DOW rule 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 195 // Generate another DOW rule 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 222 // Generate another DOW rule 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
simpletz.cpp | 515 int32_t year, month, dom, dow; local 519 Grego::dayToFields(day, year, month, dom, dow); 522 (uint8_t) dow, millis, 548 Grego::dayToFields(day, year, month, dom, dow); 550 (uint8_t) dow, millis, 792 // value indicating which DOW, such as +1 for first, 846 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST [all...] |
gregocal.cpp | 772 // // Compute doy of first (relative) DOW of WOY 1 779 // // Adjust for the DOW 973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local [all...] |
olsontz.cpp | 320 int32_t dom, uint8_t dow, 328 return getOffset(era, year, month, dom, dow, millis, 338 int32_t dom, uint8_t dow, 350 || dow < UCAL_SUNDAY 351 || dow > UCAL_SATURDAY 365 return finalZone->getOffset(era, year, month, dom, dow, 428 int32_t year, month, dom, dow; local 432 Grego::dayToFields(days, year, month, dom, dow); 555 int32_t year, month, dom, dow, doy, mid; local 556 Grego::timeToFields(current, year, month, dom, dow, doy, mid) [all...] |
timezone.cpp | 632 int32_t year, month, dom, dow; local 636 Grego::dayToFields(day, year, month, dom, dow); 639 (uint8_t) dow, millis, [all...] |
/external/icu4c/i18n/ |
gregoimp.cpp | 97 int32_t& dom, int32_t& dow, int32_t& doy) { 120 dow = (int32_t) uprv_fmod(day + 1, 7); 121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; 135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { 139 dayToFields(day, year, month, dom, dow, doy); 143 int32_t dow; local 144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); 145 return (dow == 0) ? UCAL_SATURDAY : dow; [all...] |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 168 // Create DOW rule 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 195 // Generate another DOW rule 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 222 // Generate another DOW rule 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
simpletz.cpp | 516 int32_t year, month, dom, dow; local 520 Grego::dayToFields(day, year, month, dom, dow); 523 (uint8_t) dow, millis, 549 Grego::dayToFields(day, year, month, dom, dow); 551 (uint8_t) dow, millis, 793 // value indicating which DOW, such as +1 for first, 847 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST [all...] |
gregocal.cpp | 772 // // Compute doy of first (relative) DOW of WOY 1 779 // // Adjust for the DOW 973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local [all...] |
olsontz.cpp | 330 int32_t dom, uint8_t dow, 338 return getOffset(era, year, month, dom, dow, millis, 348 int32_t dom, uint8_t dow, 360 || dow < UCAL_SUNDAY 361 || dow > UCAL_SATURDAY 375 return finalZone->getOffset(era, year, month, dom, dow, 438 int32_t year, month, dom, dow; local 442 Grego::dayToFields(days, year, month, dom, dow); 565 int32_t year, month, dom, dow, doy, mid; local 566 Grego::timeToFields(current, year, month, dom, dow, doy, mid) [all...] |
timezone.cpp | 624 int32_t year, month, dom, dow; local 628 Grego::dayToFields(day, year, month, dom, dow); 631 (uint8_t) dow, millis, [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CalendarTest.java | 67 int dow = cal.get(Calendar.DAY_OF_WEEK); local 70 + " expected: " + dow, cal.get(Calendar.DAY_OF_WEEK) != dow); [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 67 int dow = cal.get(Calendar.DAY_OF_WEEK); local 70 + " expected: " + dow, cal.get(Calendar.DAY_OF_WEEK) != dow); [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
caltest.cpp | 572 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local 576 if (dow < min || 577 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range"); 578 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); 702 * results in the first WOY/DOW day of the year satisfying the 705 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the 1421 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local 1679 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local [all...] |
dtfmrgts.cpp | 1275 int32_t dow; member in class:Test1684Data [all...] |
tzregts.cpp | 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local 376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7); 381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7); 388 (uint8_t)dow, [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 1279 int32_t dow; member in class:Test1684Data [all...] |
tzregts.cpp | 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local 376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7); 381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7); 388 (uint8_t)dow, [all...] |
caltest.cpp | 660 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local 664 if (dow < min || 665 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range"); 666 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); 790 * results in the first WOY/DOW day of the year satisfying the 793 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the 1509 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local 1767 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local [all...] |
/bionic/libc/tzcode/ |
localtime.c | 845 int d, m1, yy0, yy1, yy2, dow; local 889 dow = ((26 * m1 - 2) / 10 + 891 if (dow < 0) 892 dow += DAYSPERWEEK; 895 ** "dow" is the day-of-week of the first day of the month. Get 896 ** the day-of-month (zero-origin) of the first "dow" day of the 899 d = rulep->r_day - dow; [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
localtime.c | 822 int d, m1, yy0, yy1, yy2, dow; local 866 dow = ((26 * m1 - 2) / 10 + 868 if (dow < 0) 869 dow += DAYSPERWEEK; 872 ** "dow" is the day-of-week of the first day of the month. Get 873 ** the day-of-month (zero-origin) of the first "dow" day of the 876 d = rulep->r_day - dow; [all...] |
tz2icu.cpp | 768 int32_t dow; member in struct:FinalRulePart 816 dow = _dow; 829 if (mode != DOM && (dow < 0 || dow >= 7)) { 830 os << "Invalid input day of week " << dow; local 842 << month << dom << dow << time 867 // DOWGEQ: dom -(dow+1) 868 // DOWLEQ: -dom -(dow+1) 883 * Return a "dow" param suitable for SimpleTimeZone. 886 return (mode == DOM) ? 0 : -(dow+1) 960 int32_t month, dom, dow, time, offset; local [all...] |
/external/icu4c/tools/tzcode/ |
localtime.c | 822 int d, m1, yy0, yy1, yy2, dow; local 866 dow = ((26 * m1 - 2) / 10 + 868 if (dow < 0) 869 dow += DAYSPERWEEK; 872 ** "dow" is the day-of-week of the first day of the month. Get 873 ** the day-of-month (zero-origin) of the first "dow" day of the 876 d = rulep->r_day - dow; [all...] |
tz2icu.cpp | 768 int32_t dow; member in struct:FinalRulePart 816 dow = _dow; 829 if (mode != DOM && (dow < 0 || dow >= 7)) { 830 os << "Invalid input day of week " << dow; local 842 << month << dom << dow << time 867 // DOWGEQ: dom -(dow+1) 868 // DOWLEQ: -dom -(dow+1) 883 * Return a "dow" param suitable for SimpleTimeZone. 886 return (mode == DOM) ? 0 : -(dow+1) 960 int32_t month, dom, dow, time, offset; local [all...] |