Lines Matching defs:cal2
497 Calendar *cal2 = cal->clone();
524 fmt->parse(expected, *cal2, pp);
526 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
555 fmt->parse(expected, *cal2, pp);
558 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
565 delete cal2;
621 Calendar *cal2 = cal->clone();
639 cal2->clear();
644 fmt->parse(samplestr, *cal2, pp);
646 logln("*cal2 after 119 parse:");
651 cal2->setTime(aDate, s2);
652 int32_t gotYear = cal2->get(UCAL_YEAR, s2);
653 int32_t gotEra = cal2->get(UCAL_ERA, s2);
679 cal2->clear();
684 fmt->parse(samplestr, *cal2, pp);
686 logln("*cal2 after 1 parse:");
691 cal2->setTime(aDate, s2);
692 int32_t gotYear = cal2->get(UCAL_YEAR, s2);
693 int32_t gotEra = cal2->get(UCAL_ERA, s2);
706 delete cal2;