Searched refs:yrMax (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1617 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1700 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1705 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 1710 } else if (eraAfter != 1 || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 1712 … + yrMax + " for " + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1718 errln("Fail: era 1 roll 1 year from year " + yrMax + in TestAddRollEra0AndEraBounds() 1731 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); // max year value for this era in TestAddRollEra0AndEraBounds() 1736 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 1742 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 1744 … " roll -1 year from year 1 does not stay within era or wrap to year " + yrMax in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1620 int yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 1703 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1708 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 1713 } else if (eraAfter != 1 || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 1715 … + yrMax + " for " + localeID + " (get era " + eraAfter + " year " + yrAfter + ")"); in TestAddRollEra0AndEraBounds() 1721 errln("Fail: era 1 roll 1 year from year " + yrMax + in TestAddRollEra0AndEraBounds() 1734 yrMax = ucalTest.getActualMaximum(Calendar.YEAR); // max year value for this era in TestAddRollEra0AndEraBounds() 1739 if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 1745 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 1747 … " 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 | 2127 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local 2240 …yrMax = ucal_getLimit(ucalTest, UCAL_YEAR, UCAL_ACTUAL_MAXIMUM, &status); /* max year value for er… in TestAddRollEra0AndEraBounds() 2248 } else if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 2253 } else if (eraAfter != 1 || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 2255 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2266 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() 2278 …yrMax = ucal_getLimit(ucalTest, UCAL_YEAR, UCAL_ACTUAL_MAXIMUM, &status); /* max year value for th… in TestAddRollEra0AndEraBounds() 2286 } else if (yrMax >= 32768) { in TestAddRollEra0AndEraBounds() 2291 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds() 2293 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds() [all …]
|