Searched refs:yrBefore (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1523 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/ |
D | ccaltst.c | 2090 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 …]
|