| Package | Description |
|---|---|
| net.time4j.range |
Interval support.
|
| Modifier and Type | Method and Description |
|---|---|
IntervalCollection<T> |
IntervalCollection.intersect(IntervalCollection<T> other)
Determines the intersection.
|
IntervalCollection<T> |
IntervalCollection.minus(ChronoInterval<T> interval)
Subtracts all timepoints of given interval from this interval collection.
|
IntervalCollection<T> |
IntervalCollection.minus(Collection<? extends ChronoInterval<T>> intervals)
Subtracts all timepoints of given intervals from this interval
collection.
|
IntervalCollection<T> |
IntervalCollection.minus(IntervalCollection<T> other)
Equivalent to
minus(other.getIntervals()). |
static <T> IntervalCollection<T> |
IntervalCollection.on(TimeLine<T> timeLine)
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 type
java.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 type
java.util.Date. |
IntervalCollection<T> |
IntervalCollection.plus(ChronoInterval<T> interval)
Adds the given interval to this interval collection.
|
IntervalCollection<T> |
IntervalCollection.plus(Collection<? extends ChronoInterval<T>> intervals)
Adds the given intervals to this interval collection.
|
IntervalCollection<T> |
IntervalCollection.plus(IntervalCollection<T> other)
Equivalent to
plus(other.getIntervals()). |
IntervalCollection<T> |
IntervalCollection.union(IntervalCollection<T> other)
Equivalent to
plus(other).withBlocks(). |
IntervalCollection<T> |
IntervalCollection.withBlocks()
Combines all intervals to disjunct blocks which neither overlap nor meet each other.
|
IntervalCollection<T> |
IntervalCollection.withComplement(ChronoInterval<T> timeWindow)
Determines the complement of this interval collection within
given range.
|
IntervalCollection<T> |
IntervalCollection.withGaps()
Searches for all gaps with time points which are not covered by any
interval of this instance.
|
IntervalCollection<T> |
IntervalCollection.withIntersection()
Determines the intersection of all contained intervals.
|
IntervalCollection<T> |
IntervalCollection.withSplits()
Combines all intervals to disjunct blocks which never overlap but still might meet each other.
|
IntervalCollection<T> |
IntervalCollection.withTimeWindow(ChronoInterval<T> timeWindow)
Determines a filtered version of this interval collection within
given range.
|
IntervalCollection<T> |
IntervalCollection.xor(IntervalCollection<T> other)
Determines the difference which holds all time points either in this xor the other collection.
|
| Modifier and Type | Method and Description |
|---|---|
IntervalCollection<T> |
IntervalCollection.intersect(IntervalCollection<T> other)
Determines the intersection.
|
IntervalCollection<T> |
IntervalCollection.minus(IntervalCollection<T> other)
Equivalent to
minus(other.getIntervals()). |
IntervalCollection<T> |
IntervalCollection.plus(IntervalCollection<T> other)
Equivalent to
plus(other.getIntervals()). |
IntervalCollection<T> |
IntervalCollection.union(IntervalCollection<T> other)
Equivalent to
plus(other).withBlocks(). |
IntervalCollection<T> |
IntervalCollection.xor(IntervalCollection<T> other)
Determines the difference which holds all time points either in this xor the other collection.
|
Copyright © 2014–2021. All rights reserved.