Searched refs:eraAfter (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1523 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1551 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1552 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1554 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1561 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1562 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() 1564 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1609 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1612 if (eraAfter != 1 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1614 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 2129 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2134 } else if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 2136 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2144 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2148 … } else if ( uprv_strcmp(calType,"chinese")!=0 && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() 2150 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2206 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2212 if (eraAfter != 1 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 2214 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() [all …]
|