Home
last modified time | relevance | path

Searched refs:yrBefore (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
1576 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1579 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1586 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1589 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1634 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1637 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
1644 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1647 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java1575 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1580 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1583 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1590 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1593 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1638 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1641 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
1648 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1651 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
2096 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2102 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2103 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2111 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2117 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2118 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2175 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2181 } else if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
2189 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
[all …]