| Package | Description |
|---|---|
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| net.time4j.range |
Interval support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TimeAxis<U,T extends TimePoint<U,T>>
A time axis is a dynamic view on a chronology where a system of
registered time units is used to define a time arithmetic for any
time points belonging to this time axis respective chronology.
|
| Modifier and Type | Method and Description |
|---|---|
TimeLine<T> |
CalendarFamily.getTimeLine(String variant)
Obtains an object which is useful for generic interval support.
|
TimeLine<T> |
CalendarFamily.getTimeLine(VariantSource variant)
Obtains an object which is useful for generic interval support.
|
| Modifier and Type | Method and Description |
|---|---|
TimeAxis.Builder<U,T> |
TimeAxis.Builder.withTimeLine(TimeLine<T> timeline)
Defines the argument as timeline to be used for stepping
forward or backwards.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeLine<CalendarYear> |
CalendarYear.timeline()
Obtains a timeline for this type.
|
static TimeLine<CalendarWeek> |
CalendarWeek.timeline()
Obtains a timeline for this type.
|
static TimeLine<CalendarQuarter> |
CalendarQuarter.timeline()
Obtains a timeline for this type.
|
static TimeLine<CalendarMonth> |
CalendarMonth.timeline()
Obtains a timeline for this type.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> SimpleInterval.Factory<T> |
SimpleInterval.on(TimeLine<T> timeLine)
Defines a timeline on which new generic intervals can be created.
|
static <T> IntervalCollection<T> |
IntervalCollection.on(TimeLine<T> timeLine)
Yields an empty instance for intervals on given timeline.
|
static <T,I extends ChronoInterval<T>> |
IntervalTree.on(TimeLine<T> timeLine,
Collection<I> intervals)
Creates an interval tree on a timeline filled with given intervals.
|
Copyright © 2014–2021. All rights reserved.