Home | History | Annotate | Download | only in intltest

Lines Matching defs:DOW

587     int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status);
591 if (dow < min ||
592 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
593 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
717 * results in the first WOY/DOW day of the year satisfying the
720 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
1368 * invariant. YEAR_WOY should keep the woy/dow invariant. I've
1422 * When adding the YEAR_WOY, the WOY and DOW should remain constant. - aliu
1436 int32_t dow = cal.get(UCAL_DOW_LOCAL, status);
1472 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) {
1474 (ywy+1) + ", woy " + woy + ", dowLocal " + dow;
1591 int32_t DOW, newDOW = initialDOW;
1594 DOW = newDOW;
1595 logln(UnicodeString("DOW = ") + DOW + " " + dateToString(cur->getTime(status), str));
1601 int32_t expectedDOW = 1 + (DOW + delta - 1) % 7;
1694 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status);
1700 int32_t dowLocal = dow - fdw;
1710 // Basic fields->time check y/woy/dow
1716 cal.set(UCAL_DAY_OF_WEEK, dow);
1721 if (t_y != year || t_woy != woy || t_dow != dow) {
1722 str = "Fail: y/woy/dow fields->time => ";
1726 logln("[get!=set] Y%d!=%d || woy%d!=%d || dow%d!=%d\n",
1727 t_y, year, t_woy, woy, t_dow, dow);
1729 logln("y/woy/dow fields->time OK");
1749 // Basic fields->time check y_woy/woy/dow
1753 cal.set(UCAL_DAY_OF_WEEK, dow);
1757 str = "Fail: y_woy/woy/dow fields->time => ";
1763 logln("y_woy/woy/dow OK");
1779 logln("Testing DOW_LOCAL.. dow%d\n", dow);
1780 // Make sure DOW_LOCAL disambiguates over DOW
1781 int32_t wrongDow = dow - 3;
1793 logln("%.f : DOW%d, DOW_LOCAL%d -> %.f\n",
1797 // Make sure DOW disambiguates over DOW_LOCAL
1802 cal.set(UCAL_DAY_OF_WEEK, dow);
1806 str = "Fail: DOW fields->time => ";
1894 logln("Setting: ywoy=2004, woy=1, dow=MONDAY");
1905 logln("+ setting DOW to THURSDAY");