Searched refs:iEra (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 467 for (int iEra = 1; iEra < 3; iEra++) { in TestJpnCalAddSetNextEra() 469 jCal.set(Calendar.ERA, sEra + iEra); in TestJpnCalAddSetNextEra() 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() 478 … errln("ERROR: set " + iEra + " then add ERA 1, expected start year " + nextEraStart in TestJpnCalAddSetNextEra()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 464 for (int iEra = 1; iEra < 3; iEra++) { in TestJpnCalAddSetNextEra() 466 jCal.set(Calendar.ERA, sEra + iEra); in TestJpnCalAddSetNextEra() 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() 475 … errln("ERROR: set " + iEra + " then add ERA 1, expected start year " + nextEraStart in TestJpnCalAddSetNextEra()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2513 int32_t iEra, eYear; in TestJpnCalAddSetNextEra() local 2515 for (iEra = 1; iEra < 3; iEra++) { in TestJpnCalAddSetNextEra() 2518 ucal_set(jCal, UCAL_ERA, sEra+iEra); in TestJpnCalAddSetNextEra() 2521 … log_err("FAIL: set %d, ucal_get EXTENDED_YEAR, status %s\n", iEra, u_errorName(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() 2527 … log_err("FAIL: set %d, ucal_add ERA 1, status %s\n", iEra, u_errorName(status)); in TestJpnCalAddSetNextEra() 2531 …g_err("FAIL: set %d then add ERA 1, ucal_get EXTENDED_YEAR, status %s\n", iEra, u_errorName(status… in TestJpnCalAddSetNextEra() 2534 … int32_t nextEraStart = (startYears[iEra+1] == 0)? startYears[iEra]: startYears[iEra+1]; in TestJpnCalAddSetNextEra() 2536 …_err("ERROR: set %d then add ERA 1, expected start year %d but get %d\n", iEra, nextEraStart, eYea… in TestJpnCalAddSetNextEra()
|