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.java108 private final long maxSmallest; field in ValueRange
146 public static ValueRange of(long min, long maxSmallest, long maxLargest) { in of() argument
147 return of(min, min, maxSmallest, maxLargest); in of()
165 …public static ValueRange of(long minSmallest, long minLargest, long maxSmallest, long maxLargest) { in of() argument
169 if (maxSmallest > maxLargest) { in of()
175 return new ValueRange(minSmallest, minLargest, maxSmallest, maxLargest); in of()
186 private ValueRange(long minSmallest, long minLargest, long maxSmallest, long maxLargest) { in ValueRange() argument
189 this.maxSmallest = maxSmallest; in ValueRange()
204 return minSmallest == minLargest && maxSmallest == maxLargest; in isFixed()
241 return maxSmallest; in getSmallestMaximum()
[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