Searched refs:eraAfter (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1619 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1647 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1648 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1650 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1657 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1658 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() 1660 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1705 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1708 if (eraAfter != 1 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1710 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1616 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1644 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1645 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1647 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1654 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1655 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() 1657 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1702 eraAfter = ucalTest.get(Calendar.ERA); in TestAddRollEra0AndEraBounds() 1705 if (eraAfter != 1 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 1707 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2098 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 2137 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2142 } else if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 2144 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2152 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2156 … } else if ( uprv_strcmp(calType,"chinese")!=0 && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() 2158 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2214 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2220 if (eraAfter != 1 || yrAfter != 1) { in TestAddRollEra0AndEraBounds() 2222 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() [all …]
|