Lines Matching refs:cal2
517 LocalPointer<Calendar> cal2(cal->clone()); in TestJapaneseFormat() local
540 fmt.parse(expected, *cal2, pp); in TestJapaneseFormat()
542 …aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
566 fmti.parse(expected, *cal2, pp); in TestJapaneseFormat()
569 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); in TestJapaneseFormat()
637 LocalPointer<Calendar> cal2(cal->clone()); in TestJapanese3860() local
651 cal2->clear(); in TestJapanese3860()
656 fmt.parse(samplestr, *cal2, pp); in TestJapanese3860()
663 cal2->setTime(aDate, s2); in TestJapanese3860()
664 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
665 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
686 cal2->clear(); in TestJapanese3860()
691 fmt.parse(samplestr, *cal2, pp); in TestJapanese3860()
698 cal2->setTime(aDate, s2); in TestJapanese3860()
699 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860()
700 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()