Lines Matching refs:cal2
497 Calendar *cal2 = cal->clone(); in TestJapaneseFormat() local
524 fmt->parse(expected, *cal2, pp); in TestJapaneseFormat()
526 …aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
555 fmt->parse(expected, *cal2, pp); in TestJapaneseFormat()
558 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
565 delete cal2; in TestJapaneseFormat()
621 Calendar *cal2 = cal->clone(); in TestJapanese3860() local
639 cal2->clear(); in TestJapanese3860()
644 fmt->parse(samplestr, *cal2, pp); in TestJapanese3860()
651 cal2->setTime(aDate, s2); in TestJapanese3860()
652 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
653 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
679 cal2->clear(); in TestJapanese3860()
684 fmt->parse(samplestr, *cal2, pp); in TestJapanese3860()
691 cal2->setTime(aDate, s2); in TestJapanese3860()
692 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
693 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
706 delete cal2; in TestJapanese3860()