Home | History | Annotate | Download | only in intltest

Lines Matching defs:cal2

291     Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status);
294 cal2->setTime(when, status);
297 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed");
298 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed");
299 if (!cal->equals(*cal2, status) ||
300 cal->before(*cal2, status) ||
301 cal->after(*cal2, status) ||
305 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
306 logln("cal2->setTime(when+1000)");
307 cal2->setTime(when + 1000, status);
308 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
311 if (cal->equals(*cal2, status) ||
312 cal2->before(*cal, status) ||
313 cal->after(*cal2, status) ||
323 if (!(eq=cal->equals(*cal2, status)) ||
324 (b4=cal->before(*cal2, status)) ||
325 (af=cal->after(*cal2, status)) ||
332 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
338 if (cal->equals(*cal2, status) ||
339 cal2->before(*cal, status) ||
340 cal->after(*cal2, status) ||
423 delete cal2;