Lines Matching refs:cal2
494 Calendar *cal2 = cal->clone(); in TestJapaneseFormat() local
521 fmt->parse(expected, *cal2, pp); in TestJapaneseFormat()
523 …aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
552 fmt->parse(expected, *cal2, pp); in TestJapaneseFormat()
555 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
562 delete cal2; in TestJapaneseFormat()
618 Calendar *cal2 = cal->clone(); in TestJapanese3860() local
636 cal2->clear(); in TestJapanese3860()
641 fmt->parse(samplestr, *cal2, pp); in TestJapanese3860()
648 cal2->setTime(aDate, s2); in TestJapanese3860()
649 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
650 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
676 cal2->clear(); in TestJapanese3860()
681 fmt->parse(samplestr, *cal2, pp); in TestJapanese3860()
688 cal2->setTime(aDate, s2); in TestJapanese3860()
689 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
690 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
703 delete cal2; in TestJapanese3860()