Home
last modified time | relevance | path

Searched refs:yrAfter (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1523 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1530 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1531 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1540 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1541 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1550 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1552 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
1554 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1560 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1562 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
2098 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2102 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2103 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2113 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2117 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2118 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2128 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2134 } else if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
2136 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
[all …]