Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java904 int minYear = Integer.MAX_VALUE; in loadCalendarData() local
934 minYear = Math.min(minYear, year); in loadCalendarData()
955 hijrahStartEpochMonth = minYear * 12; 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()
1003 throw new IllegalArgumentException("Invalid month length in year: " + minYear); 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
233 int minOffset = (minYear <= 0 ? 0 : 3); in doTest_factory_ofInstant_all()
235 …long minDays = (minYear * 365L + ((minYear + minOffset) / 4L - (minYear + minOffset) / 100L + (min… in doTest_factory_ofInstant_all()
239 …OffsetDateTime expected = OffsetDateTime.of(LocalDate.of((int) minYear, 1, 1), LocalTime.of(0, 0, … in doTest_factory_ofInstant_all()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java160 int minYear, int maxYear, in Test_UmmAlQuraRanges() argument
166 assertEquals(yearRange.getMinimum(), minYear, "Minimum year for Hijrah chronology"); in Test_UmmAlQuraRanges() local
167 …assertEquals(yearRange.getLargestMinimum(), minYear, "Largest minimum year for Hijrah chronology"); in Test_UmmAlQuraRanges() local
181 assertEquals(yearRange.getMinimum(), minYear, "Minimum year for Hijrah date"); in Test_UmmAlQuraRanges() local
182 … assertEquals(yearRange.getLargestMinimum(), minYear, "Largest minimum year for Hijrah date"); in Test_UmmAlQuraRanges() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKThaiBuddhistChronology.java506 long minYear = LocalDate.MIN.getYear() + YDIFF; in test_Chrono_range() local
508 assertEquals(ThaiBuddhistChronology.INSTANCE.range(YEAR), ValueRange.of(minYear, maxYear)); in test_Chrono_range()
509 …assertEquals(ThaiBuddhistChronology.INSTANCE.range(YEAR_OF_ERA), ValueRange.of(1, -minYear + 1, ma… in test_Chrono_range()