Home
last modified time | relevance | path

Searched refs:gotEra (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java163 int gotEra = cal.get(Calendar.ERA); in Test3860() local
168 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
169 …tYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
171 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
196 gotEra = cal2.get(Calendar.ERA); in Test3860()
199 if((gotYear != 1) || (gotEra != expectEra)) { in Test3860()
201 …" and era " + expectEra + ", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + st… in Test3860()
203 logln(" year: " + gotYear + ", era: " + gotEra); in Test3860()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java159 int gotEra = cal.get(Calendar.ERA); in Test3860() local
164 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
165 …tYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
167 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
192 gotEra = cal2.get(Calendar.ERA); in Test3860()
195 if((gotYear != 1) || (gotEra != expectEra)) { in Test3860()
197 …" and era " + expectEra + ", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + st… in Test3860()
199 logln(" year: " + gotYear + ", era: " + gotEra); in Test3860()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp650 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() local
653 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
655 …ng(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" +… in TestJapanese3860()
657 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()
690 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() local
693 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
695 …ng(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" +… in TestJapanese3860()
697 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()