Home | History | Annotate | Download | only in intltest

Lines Matching defs:cal2

389     Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status);
392 cal2->setTime(when, status);
395 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed");
396 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed");
397 if (!cal->equals(*cal2, status) ||
398 cal->before(*cal2, status) ||
399 cal->after(*cal2, status) ||
403 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
404 logln("cal2->setTime(when+1000)");
405 cal2->setTime(when + 1000, status);
406 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
409 if (cal->equals(*cal2, status) ||
410 cal2->before(*cal, status) ||
411 cal->after(*cal2, status) ||
421 if (!(eq=cal->equals(*cal2, status)) ||
422 (b4=cal->before(*cal2, status)) ||
423 (af=cal->after(*cal2, status)) ||
430 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
436 if (cal->equals(*cal2, status) ||
437 cal2->before(*cal, status) ||
438 cal->after(*cal2, status) ||
521 delete cal2;
2400 Calendar* cal2 = cal->clone();
2402 if (*cal != *cal2) {
2405 if (!cal->equals(*cal2, status)) {
2412 cal2->setRepeatedWallTimeOption(UCAL_WALLTIME_FIRST);
2413 cal2->setSkippedWallTimeOption(UCAL_WALLTIME_FIRST);
2415 if (*cal == *cal2) {
2418 if (!cal->equals(*cal2, status)) {
2425 if (cal2->getRepeatedWallTimeOption() != UCAL_WALLTIME_FIRST) {
2428 if (cal2->getSkippedWallTimeOption() != UCAL_WALLTIME_FIRST) {
2432 cal2->setRepeatedWallTimeOption(UCAL_WALLTIME_NEXT_VALID);
2433 if (cal2->getRepeatedWallTimeOption() != UCAL_WALLTIME_FIRST) {
2438 delete cal2;
2778 LocalPointer<Calendar> cal2(cal->clone());
2779 Locale l = cal2->getLocale(ULOC_VALID_LOCALE, status);
3428 LocalPointer<Calendar> cal2(Calendar::createInstance(LOCALE_PAIRS[i + 1], status));
3433 UCalendarDaysOfWeek dow2 = cal2->getFirstDayOfWeek(status);
3439 uint8_t minDays2 = cal2->getMinimalDaysInFirstWeek();
3446 UCalendarWeekdayType wdt2 = cal2->getDayOfWeekType((UCalendarDaysOfWeek)d, status);