Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java476 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
479 maxYear--; in getActualMaximum()
481 return maxYear; in getActualMaximum()
DCalendar.java2901 int maxYear = getActualMaximum(field); in roll() local
2902 if (maxYear < 32768) { in roll()
2905 newYear = maxYear - ((-newYear) % maxYear); in roll()
2906 } else if (newYear > maxYear) { in roll()
2907 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DJapaneseCalendar.java456 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
459 maxYear--; in getActualMaximum()
461 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()
/third_party/mesa3d/src/mesa/main/
Dextensions.c394 unsigned maxYear = ~0; in _mesa_make_extension_string() local
400 maxYear = atoi(env); in _mesa_make_extension_string()
402 maxYear); in _mesa_make_extension_string()
411 if (i->year <= maxYear && in _mesa_make_extension_string()
435 if (_mesa_extension_table[k].year <= maxYear && in _mesa_make_extension_string()
/third_party/node/deps/icu-small/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1856 int32_t maxYear = getActualMaximum(field, status); in roll() local
1857 if (maxYear < 32768) { in roll()
1860 newYear = maxYear - ((-newYear) % maxYear); in roll()
1861 } else if (newYear > maxYear) { in roll()
1862 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/skia/third_party/externals/icu/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1856 int32_t maxYear = getActualMaximum(field, status); in roll() local
1857 if (maxYear < 32768) { in roll()
1860 newYear = maxYear - ((-newYear) % maxYear); in roll()
1861 } else if (newYear > maxYear) { in roll()
1862 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/icu/icu4c/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1856 int32_t maxYear = getActualMaximum(field, status); in roll() local
1857 if (maxYear < 32768) { in roll()
1860 newYear = maxYear - ((-newYear) % maxYear); in roll()
1861 } else if (newYear > maxYear) { in roll()
1862 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Djapancal.cpp279 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
282 maxYear--; in getActualMaximum()
284 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/icu/icu4c/source/test/intltest/
Dcalregts.cpp1667 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983() local
1668 if (year > maxYear) { in test4145983()
1670 year + ", maxYear=" + maxYear); in test4145983()
1982 int32_t maxYear = calendar->getActualMaximum(field, status); in Test4167060() local
1984 …logln(UnicodeString("maxYear: ") + maxYear + " for " + format->format(calendar->getTime(status), t… in Test4167060()
1988 int32_t years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1991 UBool valid = years[i] <= maxYear; in Test4167060()