Home | History | Annotate | Download | only in intltest

Lines Matching defs:dow

660     int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status);
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
1441 * invariant. YEAR_WOY should keep the woy/dow invariant. I've
1495 * When adding the YEAR_WOY, the WOY and DOW should remain constant. - aliu
1509 int32_t dow = cal.get(UCAL_DOW_LOCAL, status);
1545 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) {
1547 (ywy+1) + ", woy " + woy + ", dowLocal " + dow;
1664 int32_t DOW, newDOW = initialDOW;
1667 DOW = newDOW;
1668 logln(UnicodeString("DOW = ") + DOW + " " + dateToString(cur->getTime(status), str));
1674 int32_t expectedDOW = 1 + (DOW + delta - 1) % 7;
1767 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status);
1773 int32_t dowLocal = dow - fdw;
1783 // Basic fields->time check y/woy/dow
1789 cal.set(UCAL_DAY_OF_WEEK, dow);
1794 if (t_y != year || t_woy != woy || t_dow != dow) {
1795 str = "Fail: y/woy/dow fields->time => ";
1799 logln("[get!=set] Y%d!=%d || woy%d!=%d || dow%d!=%d\n",
1800 t_y, year, t_woy, woy, t_dow, dow);
1802 logln("y/woy/dow fields->time OK");
1822 // Basic fields->time check y_woy/woy/dow
1826 cal.set(UCAL_DAY_OF_WEEK, dow);
1830 str = "Fail: y_woy/woy/dow fields->time => ";
1836 logln("y_woy/woy/dow OK");
1852 logln("Testing DOW_LOCAL.. dow%d\n", dow);
1853 // Make sure DOW_LOCAL disambiguates over DOW
1854 int32_t wrongDow = dow - 3;
1866 logln("%.f : DOW%d, DOW_LOCAL%d -> %.f\n",
1870 // Make sure DOW disambiguates over DOW_LOCAL
1875 cal.set(UCAL_DAY_OF_WEEK, dow);
1879 str = "Fail: DOW fields->time => ";
1967 logln("Setting: ywoy=2004, woy=1, dow=MONDAY");
1978 logln("+ setting DOW to THURSDAY");