Searched refs:yrBefore (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1613 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1618 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1621 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1628 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1631 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1676 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1679 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds() 1686 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1689 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1614 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1619 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1622 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1629 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1632 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds() 1677 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1680 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds() 1687 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1690 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 …]
|