# Uses of Class
java.time.temporal.ValueRange

Packages that use ValueRange
Package
Description
java.time
The main API for dates, times, instants, and durations.
java.time.chrono
Generic API for calendar systems other than the default ISO.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.

- ## Uses of ValueRange in java.time

  Methods in java.time that return ValueRange
  Modifier and Type
  Method
  Description
  `ValueRange`
  DayOfWeek.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  Instant.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  LocalDate.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  LocalDateTime.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  LocalTime.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  Month.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  MonthDay.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  OffsetDateTime.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  OffsetTime.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  Year.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  YearMonth.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  ZonedDateTime.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  ZoneOffset.`range(TemporalField field)`
  Gets the range of valid values for the specified field.

- ## Uses of ValueRange in java.time.chrono

  Methods in java.time.chrono that return ValueRange
  Modifier and Type
  Method
  Description
  `ValueRange`
  Chronology.`range(ChronoField field)`
  Gets the range of valid values for the specified field.
  `default ValueRange`
  Era.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  HijrahChronology.`range(ChronoField field)`
  `ValueRange`
  HijrahEra.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  IsoChronology.`range(ChronoField field)`
  `ValueRange`
  JapaneseChronology.`range(ChronoField field)`
  `ValueRange`
  JapaneseEra.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  MinguoChronology.`range(ChronoField field)`
  `ValueRange`
  ThaiBuddhistChronology.`range(ChronoField field)`

- ## Uses of ValueRange in java.time.temporal

  Methods in java.time.temporal that return ValueRange
  Modifier and Type
  Method
  Description
  `static ValueRange`
  ValueRange.`of(long min, long max)`
  Obtains a fixed value range.
  `static ValueRange`
  ValueRange.`of(long min, long maxSmallest, long maxLargest)`
  Obtains a variable value range.
  `static ValueRange`
  ValueRange.`of(long minSmallest, long minLargest, long maxSmallest, long maxLargest)`
  Obtains a fully variable value range.
  `ValueRange`
  ChronoField.`range()`
  Gets the range of valid values for the field.
  `default ValueRange`
  TemporalAccessor.`range(TemporalField field)`
  Gets the range of valid values for the specified field.
  `ValueRange`
  TemporalField.`range()`
  Gets the range of valid values for the field.
  `ValueRange`
  ChronoField.`rangeRefinedBy(TemporalAccessor temporal)`
  `ValueRange`
  TemporalField.`rangeRefinedBy(TemporalAccessor temporal)`
  Get the range of valid values for this field using the temporal object to refine the result.