Searched refs:yrBefore (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 1624 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1627 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1634 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1637 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1682 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1685 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds() 1692 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1695 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
|
/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 1621 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1624 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1631 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1634 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1679 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1682 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds() 1689 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1692 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2098 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 2104 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() 2110 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds() 2111 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 2119 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() 2125 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds() 2126 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 2183 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() 2189 } else if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds() 2197 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() [all …]
|