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.java173 int gotEra = cal.get(Calendar.ERA); in Test3860() local
178 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
179 …tYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
181 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
206 gotEra = cal2.get(Calendar.ERA); in Test3860()
209 if((gotYear != 1) || (gotEra != expectEra)) { in Test3860()
211 …" and era " + expectEra + ", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + st… in Test3860()
213 logln(" year: " + gotYear + ", era: " + gotEra); in Test3860()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java170 int gotEra = cal.get(Calendar.ERA); in Test3860() local
175 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
176 …tYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
178 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
203 gotEra = cal2.get(Calendar.ERA); in Test3860()
206 if((gotYear != 1) || (gotEra != expectEra)) { in Test3860()
208 …" and era " + expectEra + ", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + st… in Test3860()
210 logln(" year: " + gotYear + ", era: " + gotEra); in Test3860()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp665 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() local
668 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
670 …ng(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" +… in TestJapanese3860()
672 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()
700 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() local
703 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
705 …ng(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" +… in TestJapanese3860()
707 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()