Uses of Class
org.threeten.extra.Interval
-
Packages that use Interval Package Description org.threeten.extra Value types and utilities that extendjava.time.*. -
-
Uses of Interval in org.threeten.extra
Fields in org.threeten.extra declared as Interval Modifier and Type Field Description static IntervalInterval. ALLAn interval over the whole time-line.Methods in org.threeten.extra that return Interval Modifier and Type Method Description static IntervalInterval. endingAt(Instant endExclusive)Obtains an instance ofIntervalwith unbounded start and the specified end instant.IntervalInterval. intersection(Interval other)Calculates the interval that is the intersection of this interval and the specified interval.static IntervalInterval. of(Duration duration, Instant endExclusive)Obtains an instance ofIntervalfrom the duration and the end.static IntervalInterval. of(Instant startInclusive, Duration duration)Obtains an instance ofIntervalfrom the start and a duration.static IntervalInterval. of(Instant startInclusive, Instant endExclusive)Obtains an instance ofIntervalfrom the start and end instant.static IntervalInterval. parse(CharSequence text)Obtains an instance ofIntervalfrom a text string such as2007-12-03T10:15:30Z/2007-12-04T10:15:30Z, where the end instant is exclusive.IntervalInterval. span(Interval other)Calculates the smallest interval that encloses this interval and the specified interval.static IntervalInterval. startingAt(Instant startInclusive)Obtains an instance ofIntervalwith the specified start instant and unbounded end.IntervalInterval. union(Interval other)Calculates the interval that is the union of this interval and the specified interval.IntervalInterval. withEnd(Instant end)Returns a copy of this range with the specified end instant.IntervalInterval. withStart(Instant start)Returns a copy of this range with the specified start instant.Methods in org.threeten.extra with parameters of type Interval Modifier and Type Method Description booleanInterval. abuts(Interval other)Checks if this interval abuts the specified interval.booleanInterval. encloses(Interval other)Checks if this interval encloses the specified interval.IntervalInterval. intersection(Interval other)Calculates the interval that is the intersection of this interval and the specified interval.booleanInterval. isAfter(Interval interval)Checks if this interval is after the specified interval.booleanInterval. isBefore(Interval interval)Checks if this interval is before the specified interval.booleanInterval. isConnected(Interval other)Checks if this interval is connected to the specified interval.booleanInterval. overlaps(Interval other)Checks if this interval overlaps the specified interval.IntervalInterval. span(Interval other)Calculates the smallest interval that encloses this interval and the specified interval.IntervalInterval. union(Interval other)Calculates the interval that is the union of this interval and the specified interval.
-