• Home
  • Raw
  • Download

Lines Matching refs:testCal

995     GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status);  in test4103271()  local
998 delete testCal; in test4103271()
1001 testCal->clear(); in test4103271()
1002 sdf.adoptCalendar(testCal); in test4103271()
1007 testCal->setMinimalDaysInFirstWeek((uint8_t)minDays); in test4103271()
1008 testCal->setFirstDayOfWeek((UCalendarDaysOfWeek)firstDay); in test4103271()
1015 testCal->set(j,11,25); in test4103271()
1017 testCal->add(UCAL_DATE,1,status); in test4103271()
1019 int32_t actWOY = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1021 UDate d = testCal->getTime(status); in test4103271()
1043 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1047 testCal->setMinimalDaysInFirstWeek((uint8_t)DATA[j]); in test4103271()
1048 testCal->set(1997, UCAL_DECEMBER, 21); in test4103271()
1050 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1052 log(UnicodeString("") + sdf.format(testCal->getTime(status), str) + in test4103271()
1062 UDate save = testCal->getTime(status); in test4103271()
1063 testCal->clear(); in test4103271()
1064 testCal->set(UCAL_YEAR_WOY, DATA[j+1+i] < 25 ? 1998 : 1997); in test4103271()
1065 testCal->set(UCAL_WEEK_OF_YEAR, DATA[j+1+i]); in test4103271()
1066 testCal->set(UCAL_DAY_OF_WEEK, (i%7) + UCAL_SUNDAY); in test4103271()
1067 if (testCal->getTime(status) != save) { in test4103271()
1070 sdf.format(testCal->getTime(status), str)); in test4103271()
1074 testCal->setTime(save,status); in test4103271()
1075 testCal->add(UCAL_DATE, 1,status); in test4103271()
1095 testCal->setMinimalDaysInFirstWeek(3); in test4103271()
1096 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1127 testCal->clear(); in test4103271()
1128 testCal->set(UCAL_YEAR, y); in test4103271()
1129 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1130 testCal->set(UCAL_DAY_OF_WEEK, dow); in test4103271()
1131 UDate got = testCal->getTime(status); in test4103271()
1139 logln(CalendarTest::calToStr(*testCal)); in test4103271()
1140 testCal->setTime(exp, status); in test4103271()
1141 logln(CalendarTest::calToStr(*testCal) + UnicodeString( " <<< expected ")); in test4103271()
1146 testCal->clear(); in test4103271()
1147 testCal->set(UCAL_YEAR_WOY, ywoy); in test4103271()
1148 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1149 testCal->set(UCAL_DAY_OF_WEEK, dow); in test4103271()
1150 got = testCal->getTime(status); in test4103271()
1185 testCal->setMinimalDaysInFirstWeek(3); in test4103271()
1186 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1192 testCal->setTime(before,status); in test4103271()
1194 testCal->add(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1196 testCal->roll(UCAL_WEEK_OF_YEAR, amount,status); in test4103271()
1197 UDate got = testCal->getTime(status); in test4103271()
1215 testCal->setTime(after,status); in test4103271()
1217 testCal->add(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
1219 testCal->roll(UCAL_WEEK_OF_YEAR, -amount,status); in test4103271()
1220 got = testCal->getTime(status); in test4103271()