Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java905 int maxYear = Integer.MIN_VALUE; in loadCalendarData() local
933 maxYear = Math.max(maxYear, year); in loadCalendarData()
957 hijrahEpochMonthStartDays = createEpochMonths(minEpochDay, minYear, maxYear, years); in loadCalendarData()
961 for (int year = minYear; year < maxYear; year++) { in loadCalendarData()
985 …private int[] createEpochMonths(int epochDay, int minYear, int maxYear, Map<Integer, int[]> years)… in createEpochMonths() argument
987 int numMonths = (maxYear - minYear + 1) * 12 + 1; in createEpochMonths()
996 for (int year = minYear; year <= maxYear; year++) { in createEpochMonths()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java231 private void doTest_factory_ofInstant_all(long minYear, long maxYear) { in doTest_factory_ofInstant_all() argument
234 int maxOffset = (maxYear <= 0 ? 0 : 3); in doTest_factory_ofInstant_all()
236 …long maxDays = (maxYear * 365L + ((maxYear + maxOffset) / 4L - (maxYear + maxOffset) / 100L + (max… in doTest_factory_ofInstant_all()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java159 int minYear, int maxYear, in Test_UmmAlQuraRanges() argument
167 assertEquals(yearRange.getMaximum(), maxYear, "Maximum year for Hijrah chronology"); in Test_UmmAlQuraRanges() local
168 …assertEquals(yearRange.getSmallestMaximum(), maxYear, "Smallest Maximum year for Hijrah chronology… in Test_UmmAlQuraRanges() local
182 assertEquals(yearRange.getMaximum(), maxYear, "Maximum year for Hijrah date"); in Test_UmmAlQuraRanges() local
183 … assertEquals(yearRange.getSmallestMaximum(), maxYear, "Smallest maximum year for Hijrah date"); in Test_UmmAlQuraRanges() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKThaiBuddhistChronology.java507 long maxYear = LocalDate.MAX.getYear() + YDIFF; in test_Chrono_range() local
508 assertEquals(ThaiBuddhistChronology.INSTANCE.range(YEAR), ValueRange.of(minYear, maxYear)); in test_Chrono_range()
509 …quals(ThaiBuddhistChronology.INSTANCE.range(YEAR_OF_ERA), ValueRange.of(1, -minYear + 1, maxYear)); in test_Chrono_range()