Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java169 int gotYear = cal.get(Calendar.YEAR); in Test3860() local
175 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
176 …errln("Expected year " + expectYear + ", era " + expectEra +", but got year " + gotYear + " and er… in Test3860()
178 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
202 gotYear = cal2.get(Calendar.YEAR); 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/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java172 int gotYear = cal.get(Calendar.YEAR); in Test3860() local
178 if((gotYear != expectYear) || (gotEra != expectEra)) { in Test3860()
179 …errln("Expected year " + expectYear + ", era " + expectEra +", but got year " + gotYear + " and er… in Test3860()
181 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); in Test3860()
205 gotYear = cal2.get(Calendar.YEAR); 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/icu4c/source/test/intltest/
Dincaltst.cpp644 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860() local
648 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
650 …UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gr… in TestJapanese3860()
652 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()
679 int32_t gotYear = cal2->get(UCAL_YEAR, s2); in TestJapanese3860() local
683 if((gotYear!=1) || (gotEra != expectEra)) { in TestJapanese3860()
685 …UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gr… in TestJapanese3860()
687 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra); in TestJapanese3860()