Home
last modified time | relevance | path

Searched refs:maxSmallest (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/temporal/
DValueRange.java109 private final long maxSmallest; field in ValueRange
147 public static ValueRange of(long min, long maxSmallest, long maxLargest) { in of() argument
148 if (min > maxSmallest) { in of()
151 return of(min, min, maxSmallest, maxLargest); in of()
170 …public static ValueRange of(long minSmallest, long minLargest, long maxSmallest, long maxLargest) { in of() argument
174 if (maxSmallest > maxLargest) { in of()
180 if (minSmallest > maxSmallest) { in of()
183 return new ValueRange(minSmallest, minLargest, maxSmallest, maxLargest); in of()
194 private ValueRange(long minSmallest, long minLargest, long maxSmallest, long maxLargest) { in ValueRange() argument
197 this.maxSmallest = maxSmallest; in ValueRange()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronology.java189 …public void test_range(ChronoField field, int minSmallest, int minLargest, int maxSmallest, int ma… in test_range() argument
193 assertEquals(range.getSmallestMaximum(), maxSmallest); in test_range() local