Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java474 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
477 maxYear--; in getActualMaximum()
479 return maxYear; in getActualMaximum()
DCalendar.java2900 int maxYear = getActualMaximum(field); in roll() local
2901 if (maxYear < 32768) { in roll()
2904 newYear = maxYear - ((-newYear) % maxYear); in roll()
2905 } else if (newYear > maxYear) { in roll()
2906 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DJapaneseCalendar.java455 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
458 maxYear--; in getActualMaximum()
460 return maxYear; in getActualMaximum()
DCalendar.java2803 int maxYear = getActualMaximum(field); in roll() local
2804 if (maxYear < 32768) { in roll()
2807 newYear = maxYear - ((-newYear) % maxYear); in roll()
2808 } else if (newYear > maxYear) { in roll()
2809 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/external/icu/icu4c/source/i18n/
Djapancal.cpp289 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
292 maxYear--; in getActualMaximum()
294 return maxYear; in getActualMaximum()
Dcalendar.cpp1840 int32_t maxYear = getActualMaximum(field, status); in roll() local
1841 if (maxYear < 32768) { in roll()
1844 newYear = maxYear - ((-newYear) % maxYear); in roll()
1845 } else if (newYear > maxYear) { in roll()
1846 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/external/mesa3d/src/mesa/main/
Dextensions.c359 unsigned maxYear = ~0; in _mesa_make_extension_string() local
365 maxYear = atoi(env); in _mesa_make_extension_string()
367 maxYear); in _mesa_make_extension_string()
376 if (i->year <= maxYear && in _mesa_make_extension_string()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1133 int maxYear = calendar.getMaximum(Calendar.YEAR); in Test4145983() local
1134 if (year > maxYear) { in Test4145983()
1136 year + ", maxYear=" + maxYear); in Test4145983()
1345 int maxYear = calendar.getActualMaximum(field); in Test4167060() local
1346 logln("maxYear: " + maxYear + " for " + format.format(calendar.getTime())); in Test4167060()
1349 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1352 boolean valid = years[i] <= maxYear; in Test4167060()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java1136 int maxYear = calendar.getMaximum(Calendar.YEAR); in Test4145983() local
1137 if (year > maxYear) { in Test4145983()
1139 year + ", maxYear=" + maxYear); in Test4145983()
1348 int maxYear = calendar.getActualMaximum(field); in Test4167060() local
1349 logln("maxYear: " + maxYear + " for " + format.format(calendar.getTime())); in Test4167060()
1352 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1355 boolean valid = years[i] <= maxYear; in Test4167060()
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1640 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983() local
1641 if (year > maxYear) { in test4145983()
1643 year + ", maxYear=" + maxYear); in test4145983()
1956 int32_t maxYear = calendar->getActualMaximum(field, status); in Test4167060() local
1958 …logln(UnicodeString("maxYear: ") + maxYear + " for " + format->format(calendar->getTime(status), t… in Test4167060()
1962 int32_t years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1965 UBool valid = years[i] <= maxYear; in Test4167060()