Lines Matching refs:cal2
497 LocalPointer<Calendar> cal2(cal->clone()); in TestJapaneseFormat() local
520 fmt.parse(expected, *cal2, pp); in TestJapaneseFormat()
522 …aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
546 fmti.parse(expected, *cal2, pp); in TestJapaneseFormat()
549 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
617 LocalPointer<Calendar> cal2(cal->clone()); in TestJapanese3860() local
631 cal2->clear(); in TestJapanese3860()
636 fmt.parse(samplestr, *cal2, pp); in TestJapanese3860()
643 cal2->setTime(aDate, s2); in TestJapanese3860()
644 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
645 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
666 cal2->clear(); in TestJapanese3860()
671 fmt.parse(samplestr, *cal2, pp); in TestJapanese3860()
678 cal2->setTime(aDate, s2); in TestJapanese3860()
679 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
680 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()