Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DJapaneseCalendar.java645 int maxYear = nextEraYear - ERAS[era*3] + 1; // 1-base in getActualMaximum() local
648 maxYear--; in getActualMaximum()
650 return maxYear; in getActualMaximum()
DCalendar.java2832 int maxYear = getActualMaximum(field); in roll() local
2833 if (maxYear < 32768) { in roll()
2836 newYear = maxYear - ((-newYear) % maxYear); in roll()
2837 } else if (newYear > maxYear) { in roll()
2838 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java666 int maxYear = nextEraYear - ERAS[era*3] + 1; // 1-base in getActualMaximum() local
669 maxYear--; in getActualMaximum()
671 return maxYear; in getActualMaximum()
DCalendar.java2929 int maxYear = getActualMaximum(field); in roll() local
2930 if (maxYear < 32768) { in roll()
2933 newYear = maxYear - ((-newYear) % maxYear); in roll()
2934 } else if (newYear > maxYear) { in roll()
2935 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/external/mesa3d/src/mesa/main/
Dextensions.c417 unsigned maxYear = ~0; in _mesa_make_extension_string() local
423 maxYear = atoi(env); in _mesa_make_extension_string()
425 maxYear); in _mesa_make_extension_string()
434 if (i->year <= maxYear && in _mesa_make_extension_string()
463 if (_mesa_extension_table[k].year <= maxYear && in _mesa_make_extension_string()
/external/icu/icu4c/source/i18n/
Djapancal.cpp521 int32_t maxYear = nextEraYear - kEraInfo[era].year + 1; // 1-base in getActualMaximum() local
524 maxYear--; in getActualMaximum()
526 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/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/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/icu4c/source/test/intltest/
Dcalregts.cpp1627 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983() local
1628 if (year > maxYear) { in test4145983()
1630 year + ", maxYear=" + maxYear); in test4145983()
1943 int32_t maxYear = calendar->getActualMaximum(field, status); in Test4167060() local
1945 …logln(UnicodeString("maxYear: ") + maxYear + " for " + format->format(calendar->getTime(status), t… in Test4167060()
1949 int32_t years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1952 UBool valid = years[i] <= maxYear; in Test4167060()