Lines Matching defs:cal2
494 Calendar *cal2 = cal->clone();
521 fmt->parse(expected, *cal2, pp);
523 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
552 fmt->parse(expected, *cal2, pp);
555 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
562 delete cal2;
618 Calendar *cal2 = cal->clone();
636 cal2->clear();
641 fmt->parse(samplestr, *cal2, pp);
643 logln("*cal2 after 119 parse:");
648 cal2->setTime(aDate, s2);
649 int32_t gotYear = cal2->get(UCAL_YEAR, s2);
650 int32_t gotEra = cal2->get(UCAL_ERA, s2);
676 cal2->clear();
681 fmt->parse(samplestr, *cal2, pp);
683 logln("*cal2 after 1 parse:");
688 cal2->setTime(aDate, s2);
689 int32_t gotYear = cal2->get(UCAL_YEAR, s2);
690 int32_t gotEra = cal2->get(UCAL_ERA, s2);
703 delete cal2;