Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2093 const EraTestItem * eraTestItemPtr; in TestAddRollEra0AndEraBounds() local
2094 for (eraTestItemPtr = eraTestItems; eraTestItemPtr->locale != NULL; eraTestItemPtr++) { in TestAddRollEra0AndEraBounds()
2096 UCalendar *ucalTest = ucal_open(zoneGMT, -1, eraTestItemPtr->locale, UCAL_DEFAULT, &status); in TestAddRollEra0AndEraBounds()
2109 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2110 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2111 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2112 … log_err("FAIL: era 0 add 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2124 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2125 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2126 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
[all …]