Home
last modified time | relevance | path

Searched refs:yrBefore (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1523 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
1528 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1531 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1538 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1541 … if ( (era0YearsGoBackwards && yrAfter>yrBefore) || (!era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
1586 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1589 if ( yrAfter<yrBefore ) { in TestAddRollEra0AndEraBounds()
1596 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1599 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 …]