Uses of Class
net.time4j.range.IntervalCollection
-
Uses of IntervalCollection in net.time4j.range
Modifier and TypeMethodDescriptionIntervalCollection.intersect(IntervalCollection<T> other)
Determines the intersection.IntervalCollection.minus(Collection<? extends ChronoInterval<T>> intervals)
Subtracts all timepoints of given intervals from this interval collection.IntervalCollection.minus(ChronoInterval<T> interval)
Subtracts all timepoints of given interval from this interval collection.IntervalCollection.minus(IntervalCollection<T> other)
Equivalent tominus(other.getIntervals())
.static <T> IntervalCollection<T>
Yields an empty instance for intervals on given timeline.static IntervalCollection<PlainTime>
IntervalCollection.onClockAxis()
Yields an empty instance on the walltime axis.static IntervalCollection<PlainDate>
IntervalCollection.onDateAxis()
Yields an empty instance on the date axis.static IntervalCollection<Instant>
IntervalCollection.onInstantTimeLine()
Yields an empty instance for intervals with the component typejava.time.Instant
.static IntervalCollection<Moment>
IntervalCollection.onMomentAxis()
Yields an empty instance on the UTC-axis.static IntervalCollection<PlainTimestamp>
IntervalCollection.onTimestampAxis()
Yields an empty instance on the timestamp axis.static IntervalCollection<Date>
IntervalCollection.onTraditionalTimeLine()
Yields an empty instance for intervals with the component typejava.util.Date
.IntervalCollection.plus(Collection<? extends ChronoInterval<T>> intervals)
Adds the given intervals to this interval collection.IntervalCollection.plus(ChronoInterval<T> interval)
Adds the given interval to this interval collection.IntervalCollection.plus(IntervalCollection<T> other)
Equivalent toplus(other.getIntervals())
.IntervalCollection.union(IntervalCollection<T> other)
Equivalent toplus(other).withBlocks()
.IntervalCollection.withBlocks()
Combines all intervals to disjunct blocks which neither overlap nor meet each other.IntervalCollection.withComplement(ChronoInterval<T> timeWindow)
Determines the complement of this interval collection within given range.IntervalCollection.withGaps()
Searches for all gaps with time points which are not covered by any interval of this instance.IntervalCollection.withIntersection()
Determines the intersection of all contained intervals.IntervalCollection.withSplits()
Combines all intervals to disjunct blocks which never overlap but still might meet each other.IntervalCollection.withTimeWindow(ChronoInterval<T> timeWindow)
Determines a filtered version of this interval collection within given range.IntervalCollection.xor(IntervalCollection<T> other)
Determines the difference which holds all time points either in this xor the other collection.Modifier and TypeMethodDescriptionIntervalCollection.intersect(IntervalCollection<T> other)
Determines the intersection.IntervalCollection.minus(IntervalCollection<T> other)
Equivalent tominus(other.getIntervals())
.IntervalCollection.plus(IntervalCollection<T> other)
Equivalent toplus(other.getIntervals())
.IntervalCollection.union(IntervalCollection<T> other)
Equivalent toplus(other).withBlocks()
.IntervalCollection.xor(IntervalCollection<T> other)
Determines the difference which holds all time points either in this xor the other collection.