Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java470 int eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra() local
471 if (eYear != startYears[iEra]) { in TestJpnCalAddSetNextEra()
472 … errln("ERROR: set " + iEra + ", expected start year " + startYears[iEra] + " but get " + eYear); in TestJpnCalAddSetNextEra()
475 eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra()
477 if (eYear != nextEraStart) { in TestJpnCalAddSetNextEra()
479 + " but get " + eYear); in TestJpnCalAddSetNextEra()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java467 int eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra() local
468 if (eYear != startYears[iEra]) { in TestJpnCalAddSetNextEra()
469 … errln("ERROR: set " + iEra + ", expected start year " + startYears[iEra] + " but get " + eYear); in TestJpnCalAddSetNextEra()
472 eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra()
474 if (eYear != nextEraStart) { in TestJpnCalAddSetNextEra()
476 + " but get " + eYear); in TestJpnCalAddSetNextEra()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2513 int32_t iEra, eYear; in TestJpnCalAddSetNextEra() local
2519 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra()
2522 } else if (eYear != startYears[iEra]) { in TestJpnCalAddSetNextEra()
2523 … log_err("ERROR: set %d, expected start year %d but get %d\n", iEra, startYears[iEra], eYear); in TestJpnCalAddSetNextEra()
2529 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra()
2535 if (eYear != nextEraStart) { in TestJpnCalAddSetNextEra()
2536 …rr("ERROR: set %d then add ERA 1, expected start year %d but get %d\n", iEra, nextEraStart, eYear); in TestJpnCalAddSetNextEra()