Uses of Class
org.threeten.extra.Interval
Packages that use Interval
-
Uses of Interval in org.threeten.extra
Fields in org.threeten.extra declared as IntervalModifier and TypeFieldDescriptionstatic final IntervalInterval.ALLAn interval over the whole time-line.Methods in org.threeten.extra that return IntervalModifier and TypeMethodDescriptionstatic IntervalObtains an instance ofIntervalwith unbounded start and the specified end instant.Interval.intersection(Interval other) Calculates the interval that is the intersection of this interval and the specified interval.static IntervalObtains an instance ofIntervalfrom the duration and the end.static IntervalObtains an instance ofIntervalfrom the start and a duration.static IntervalObtains 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.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.Calculates the interval that is the union of this interval and the specified interval.Returns a copy of this range with the specified end instant.Returns a copy of this range with the specified start instant.Methods in org.threeten.extra with parameters of type IntervalModifier and TypeMethodDescriptionbooleanChecks if this interval abuts the specified interval.booleanChecks if this interval encloses the specified interval.Interval.intersection(Interval other) Calculates the interval that is the intersection of this interval and the specified interval.booleanChecks if this interval is after the specified interval.booleanChecks if this interval is before the specified interval.booleanInterval.isConnected(Interval other) Checks if this interval is connected to the specified interval.booleanChecks if this interval overlaps the specified interval.Calculates the smallest interval that encloses this interval and the specified interval.Calculates the interval that is the union of this interval and the specified interval.