Searched refs:yrMax (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 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/ |
D | ccaltst.c | 2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 2203 …yrMax = 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() 2241 …yrMax = 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 …]
|