Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java1619 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1626 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1627 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1636 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1637 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1646 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1648 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
1650 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1656 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1658 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1616 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1623 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1624 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1633 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1634 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1643 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1645 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
1647 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1653 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1655 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2098 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
2106 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2110 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2111 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2121 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2125 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2126 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2136 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2142 } else if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
2144 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
[all …]