Uses of Interface
net.time4j.range.ChronoInterval
Packages that use ChronoInterval
-
Uses of ChronoInterval in net.time4j.range
Classes in net.time4j.range with type parameters of type ChronoIntervalModifier and TypeClassDescriptionclassIntervalTree<T,I extends ChronoInterval<T>>Represents an augmented interval tree holding intervals for easy and quick search.classValueInterval<T,I extends ChronoInterval<T>,V>Represents a temporal interval with an associated value.Classes in net.time4j.range that implement ChronoIntervalModifier and TypeClassDescriptionclassRepresents the month of a gregorian calendar year as interval (like from 1st of January until end of January).classRepresents a closed interval between two incomplete calendar dates like months, weeks, quarters or years.classRepresents the quarter of a gregorian calendar year as interval (like from 1st of January until end of March).classRepresents the calendar week starting on Monday according to ISO-8601-paper.classRepresents a full gregorian calendar year as interval from 1st of January until end of December.classDefines a finite wall time interval on the local timeline.classDefines a date interval.classFixedCalendarInterval<T extends FixedCalendarInterval<T>>Represents a fixed calendar interval.classIsoInterval<T extends Temporal<? super T>,I extends IsoInterval<T,I>>Represents an abstract temporal interval on a timeline for ISO-8601-types.classDefines a moment interval on global timeline.classGeneric interval class suitable for any type of timepoints on a timeline.classDefines a timestamp interval on local timeline.classValueInterval<T,I extends ChronoInterval<T>,V>Represents a temporal interval with an associated value.Methods in net.time4j.range with type parameters of type ChronoIntervalModifier and TypeMethodDescriptionstatic <T, I extends ChronoInterval<T>>
IntervalTree<T,I>IntervalTree.on(TimeLine<T> timeLine, Collection<I> intervals)Creates an interval tree on a timeline filled with given intervals.static <I extends ChronoInterval<PlainTime>>
IntervalTree<PlainTime,I>IntervalTree.onClockAxis(Collection<I> intervals)Creates an interval tree on the clock axis filled with given clock intervals.static <I extends ChronoInterval<PlainDate>>
IntervalTree<PlainDate,I>IntervalTree.onDateAxis(Collection<I> intervals)Creates an interval tree on the date axis filled with given date intervals.static <I extends ChronoInterval<Moment>>
IntervalTree<Moment,I>IntervalTree.onMomentAxis(Collection<I> intervals)Creates an interval tree on the moment axis (UTC) filled with given moment intervals.static <I extends ChronoInterval<PlainTimestamp>>
IntervalTree<PlainTimestamp,I>IntervalTree.onTimestampAxis(Collection<I> intervals)Creates an interval tree on the timestamp axis filled with given timestamp intervals.Methods in net.time4j.range that return ChronoIntervalModifier and TypeMethodDescriptionIntervalCollection.getRange()Yields the full min-max-range of this instance.Methods in net.time4j.range that return types with arguments of type ChronoIntervalModifier and TypeMethodDescriptionstatic Comparator<ChronoInterval<PlainTime>>ClockInterval.comparator()Defines a comparator which sorts intervals first by start boundary and then by length.static Comparator<ChronoInterval<PlainDate>>DateInterval.comparator()Defines a comparator which sorts intervals first by start boundary and then by length.static Comparator<ChronoInterval<Moment>>MomentInterval.comparator()Defines a comparator which sorts intervals first by start boundary and then by length.static Comparator<ChronoInterval<PlainTimestamp>>TimestampInterval.comparator()Defines a comparator which sorts intervals first by start boundary and then by length.default ChronoFunction<ChronoInterval<PlainDate>,Integer>HolidayModel.countOfBusinessDays()Queries the count of business days in an arbitrary date interval.default ChronoFunction<ChronoInterval<PlainDate>,Integer>HolidayModel.countOfHolidays()Queries the count of non-business days in an arbitrary date interval.default ChronoFunction<ChronoInterval<PlainDate>,PlainDate>HolidayModel.firstBusinessDay()Queries the first business day in an arbitrary date interval.IntervalCollection.getIntervals()Returns all appended intervals.DayPartitionRule.getPartitions(PlainDate date)Obtains the partitions for given date if defined.IntervalCollection.iterator()Obtains an interval iterator.default ChronoFunction<ChronoInterval<PlainDate>,PlainDate>HolidayModel.lastBusinessDay()Queries the last business day in an arbitrary date interval.Methods in net.time4j.range with parameters of type ChronoIntervalModifier and TypeMethodDescriptionbooleanCalendarPeriod.abuts(ChronoInterval<T> other)booleanChronoInterval.abuts(ChronoInterval<T> other)Queries if this interval abuts the other one such that there is neither any overlap nor any gap between.booleanFixedCalendarInterval.abuts(ChronoInterval<PlainDate> other)booleanIsoInterval.abuts(ChronoInterval<T> other)Queries if this interval abuts the other one such that there is neither any overlap nor any gap between.booleanSimpleInterval.abuts(ChronoInterval<T> other)booleanValueInterval.abuts(ChronoInterval<T> other)booleanCalendarPeriod.contains(ChronoInterval<T> other)booleanChronoInterval.contains(ChronoInterval<T> other)Does this interval contain the other one?booleanFixedCalendarInterval.contains(ChronoInterval<PlainDate> other)booleanIntervalCollection.contains(ChronoInterval<T> interval)Queries if given interval is stored in this collection.booleanIntervalTree.contains(ChronoInterval<T> interval)Queries if given interval is stored in this tree.booleanIsoInterval.contains(ChronoInterval<T> other)Does this interval contain the other one?booleanSimpleInterval.contains(ChronoInterval<T> other)booleanValueInterval.contains(ChronoInterval<T> other)booleanBracketPolicy.display(ChronoInterval<?> interval)Decides if to display the boundaries of given interval.CalendarPeriod.findIntersection(ChronoInterval<T> other)Obtains the intersection of this interval and other one if present.IsoInterval.findIntersection(ChronoInterval<T> other)Obtains the intersection of this interval and other one if present.SimpleInterval.findIntersection(ChronoInterval<T> other)Obtains the intersection of this interval and other one if present.IntervalTree.findIntersections(ChronoInterval<T> interval)Obtains a list of all stored intervals which intersect given search interval.static ClockIntervalClockInterval.from(ChronoInterval<PlainTime> interval)Converts an arbitrary clock interval to an interval of this type.static DateIntervalDateInterval.from(ChronoInterval<PlainDate> interval)Converts an arbitrary date interval to an interval of this type.static MomentIntervalMomentInterval.from(ChronoInterval<Moment> interval)Converts an arbitrary moment interval to an interval of this type.static TimestampIntervalTimestampInterval.from(ChronoInterval<PlainTimestamp> interval)Converts an arbitrary timestamp interval to an interval of this type.default booleanChronoInterval.intersects(ChronoInterval<T> other)Queries if this interval intersects the other one such that there is at least one common time point.booleanIsoInterval.intersects(ChronoInterval<T> other)Queries if this interval intersects the other one such that there is at least one common time point.default booleanChronoInterval.isAfter(ChronoInterval<T> other)Is this interval after the other one?booleanIsoInterval.isAfter(ChronoInterval<T> other)Is this interval after the other one?booleanCalendarPeriod.isBefore(ChronoInterval<T> other)booleanChronoInterval.isBefore(ChronoInterval<T> other)Is this interval before the other one?booleanFixedCalendarInterval.isBefore(ChronoInterval<PlainDate> other)booleanIsoInterval.isBefore(ChronoInterval<T> other)Is this interval before the other one?booleanSimpleInterval.isBefore(ChronoInterval<T> other)booleanValueInterval.isBefore(ChronoInterval<T> other)IntervalCollection.minus(ChronoInterval<T> interval)Subtracts all timepoints of given interval from this interval collection.IntervalCollection.plus(ChronoInterval<T> interval)Adds the given interval to this interval collection.IntervalCollection.withComplement(ChronoInterval<T> timeWindow)Determines the complement of this interval collection within given range.IntervalCollection.withTimeWindow(ChronoInterval<T> timeWindow)Determines a filtered version of this interval collection within given range.Method parameters in net.time4j.range with type arguments of type ChronoIntervalModifier and TypeMethodDescription<R> RIsoInterval.get(ChronoFunction<ChronoInterval<T>,R> function)Lets given query evaluate this interval.IntervalCollection.minus(Collection<? extends ChronoInterval<T>> intervals)Subtracts all timepoints of given intervals from this interval collection.IntervalCollection.plus(Collection<? extends ChronoInterval<T>> intervals)Adds the given intervals to this interval collection.