Home
last modified time | relevance | path

Searched refs:yrMax (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
1606 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1611 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds()
1616 } else if (eraAfter != 1 || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds()
1618 … + yrMax + " for " + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds()
1624 errln("Fail: era 1 roll 1 year from year " + yrMax + in TestAddRollEra0AndEraBounds()
1637 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); // max year value for this era in TestAddRollEra0AndEraBounds()
1642 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds()
1648 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds()
1650 … " roll -1 year from year 1 does not stay within era or wrap to year " + yrMax in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
2203yrMax = ucal_getLimit(ucalTest, UCAL_YEAR, UCAL_ACTUAL_MAXIMUM, &status); /* max year value for er… in TestAddRollEra0AndEraBounds()
2211 } else if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds()
2216 } else if (eraAfter != 1 || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds()
2218 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2229 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2241yrMax = ucal_getLimit(ucalTest, UCAL_YEAR, UCAL_ACTUAL_MAXIMUM, &status); /* max year value for th… in TestAddRollEra0AndEraBounds()
2249 } else if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds()
2254 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds()
2256 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
[all …]