Lines Matching refs:day
687 * Test the handling of the day of the week, checking for correctness and
716 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
717 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
790 verify765("1997 third day of June = ", c, 1997, UCAL_JUNE, 3);
841 * results in the first WOY/DOW day of the year satisfying the
883 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day)
892 d == day) {
898 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day +
1545 * When adding the YEAR, the month and day should remain constant.
1557 int32_t day = cal.get(UCAL_DATE, status);
1578 if (y2 != (y+1) || mon2 != mon || day2 != day) {
1580 (y+1) + ", month " + (mon+1) + ", day " + day;
1694 errln("FAIL: Different Day Of Year!");
1727 errln(UnicodeString("Day of week should be ") + expectedDOW + " instead of " + newDOW +
2275 int32_t day = 15;
2276 hc.set(year,month,day);
2283 if (dayHC != day) {
2284 errln(" ==> day %d incorrect, should be: %d\n",dayHC,day);
2292 errln(" ==> day %d incorrect, should be: %d\n",yearHC,year);
2443 CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms = 0);
2454 int32_t day;
2461 CalFields::CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms)
2462 : year(year), month(month), day(day), hour(hour), min(min), sec(sec), ms(ms) {
2468 day = cal.get(UCAL_DAY_OF_MONTH, status);
2478 cal.set(year, month - 1, day, hour, min, sec);
2485 sprintf(local, "%04d-%02d-%02d %02d:%02d:%02d.%03d", year, month, day, hour, min, sec, ms);
2495 && day == rhs.day
2511 && day == cal.get(UCAL_DAY_OF_MONTH, status)
2790 int32_t day = cal->get(UCAL_DAY_OF_MONTH, status);
2796 if(initDay != day || initMonth != month || initYear != year)
2799 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3259 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434;
3274 day = tstCal->get(UCAL_DAY_OF_MONTH,status);
3282 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar::RABI_2 || year != 1434)
3293 int32_t day = tstCal->get(UCAL_DAY_OF_MONTH, status);
3296 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3315 errln("unexpected conversion date month %i not %i or day %i not 24 or year %i not 1395", is_month, IslamicCalendar::RABI_2, is_day, is_year);
3378 errln("unexpected day difference between islamic and tbla: %d : %d ",tbla_day,is_day);
3431 // First day of week
3463 // Time zone Base wall time day(s) Skipped time options
3466 // Add 1 day, from the date before DST transition
3506 // Subtract 1 day, from one day after DST transition
3623 + ", delta:" + AAZTDATA[i].deltaDays + " day(s), opt:" + optDisp