Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1571 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1578 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1579 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1588 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1589 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1598 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1600 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
1602 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1608 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1610 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java1575 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1582 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1583 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1592 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1593 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1602 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1604 if (eraAfter != 0 || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
1606 + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1612 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1614 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 …]