Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DJapaneseTest.java465 …final int[] startYears = { 1926, 1989, 2019, 0 }; // start years for Show, Heisei, Reiwa; 0 mar… 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()
476 … int nextEraStart = (startYears[iEra + 1] == 0) ? startYears[iEra] : startYears[iEra + 1]; in TestJpnCalAddSetNextEra()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java462 …final int[] startYears = { 1926, 1989, 2019, 0 }; // start years for Show, Heisei, Reiwa; 0 mar… 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()
473 … int nextEraStart = (startYears[iEra + 1] == 0) ? startYears[iEra] : startYears[iEra + 1]; in TestJpnCalAddSetNextEra()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2514 …int32_t startYears[4] = { 1926, 1989, 2019, 0 }; // start years for Showa, Heisei, Reiwa; 0 marks … in TestJpnCalAddSetNextEra() local
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()
2534 … int32_t nextEraStart = (startYears[iEra+1] == 0)? startYears[iEra]: startYears[iEra+1]; in TestJpnCalAddSetNextEra()