Lines Matching defs:DOW
700 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status);
704 if (dow < min ||
705 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
706 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
830 * results in the first WOY/DOW day of the year satisfying the
833 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
1481 * invariant. YEAR_WOY should keep the woy/dow invariant. I've
1535 * When adding the YEAR_WOY, the WOY and DOW should remain constant. - aliu
1549 int32_t dow = cal.get(UCAL_DOW_LOCAL, status);
1585 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) {
1587 (ywy+1) + ", woy " + woy + ", dowLocal " + dow;
1704 int32_t DOW, newDOW = initialDOW;
1707 DOW = newDOW;
1708 logln(UnicodeString("DOW = ") + DOW + " " + dateToString(cur->getTime(status), str));
1714 int32_t expectedDOW = 1 + (DOW + delta - 1) % 7;
1807 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status);
1813 dow - fdw;
1823 // Basic fields->time check y/woy/dow
1829 cal.set(UCAL_DAY_OF_WEEK, dow);
1834 if (t_y != year || t_woy != woy || t_dow != dow) {
1835 str = "Fail: y/woy/dow fields->time => ";
1839 logln("[get!=set] Y%d!=%d || woy%d!=%d || dow%d!=%d\n",
1840 t_y, year, t_woy, woy, t_dow, dow);
1842 logln("y/woy/dow fields->time OK");
1862 // Basic fields->time check y_woy/woy/dow
1866 cal.set(UCAL_DAY_OF_WEEK, dow);
1870 str = "Fail: y_woy/woy/dow fields->time => ";
1876 logln("y_woy/woy/dow OK");
1892 logln("Testing DOW_LOCAL.. dow%d\n", dow);
1893 // Make sure DOW_LOCAL disambiguates over DOW
1894 int32_t wrongDow = dow - 3;
1906 logln("%.f : DOW%d, DOW_LOCAL%d -> %.f\n",
1910 // Make sure DOW disambiguates over DOW_LOCAL
1915 cal.set(UCAL_DAY_OF_WEEK, dow);
1919 str = "Fail: DOW fields->time => ";
2007 logln("Setting: ywoy=2004, woy=1, dow=MONDAY");
2018 logln("+ setting DOW to THURSDAY");