| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| net.time4j.format |
Format support of Time4J.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TemporalTypes<S extends Comparable<?>,T extends ChronoEntity<T>>
Serves as bridge to temporal types of JDK or other date and time
libraries.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Moment
Represents an instant/moment on the universal timeline with reference
to the timezone UTC (UTC+00:00 / Greenwich-meridian).
|
class |
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard.
|
class |
PlainTime
Represents a plain wall time without any timezone or date component
as defined in ISO-8601 up to nanosecond precision.
|
class |
PlainTimestamp
Represents a plain composition of calendar date and wall time as defined
in ISO-8601, but without any timezone.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFunction<ChronoEntity<?>,BigDecimal> |
ProportionalElement.ratio()
Defines a query which interpretes the value of this element as
proportional rational number within the range between minimum and
maximum.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TemporalTypes.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2) |
int |
TemporalTypes.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChronoEntity<T extends ChronoEntity<T>>
Represents a temporal object which associates partial temporal values
with chronological elements and also allows some manipulations of these
element values.
|
class |
Chronology<T extends ChronoEntity<T>>
Represents a system of chronological elements which form any kind
of temporal value.
|
static class |
Chronology.Builder<T extends ChronoEntity<T>>
Builder for creating a new chronology without any time axis.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Calendrical<U,D extends Calendrical<U,D>>
Abstract base class of all plain calendar date types which are
convertible via their day epoch numbers.
|
class |
TimePoint<U,T extends TimePoint<U,T>>
Represents an immutable time point along a time axis which is directed
into the future.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ChronoEntity<T>> |
AdvancedElement.atCeiling(Class<T> context)
Yields an operator which rounds any entity up so that the child
elements will be set to the maximum.
|
<T extends ChronoEntity<T>> |
AdvancedElement.atFloor(Class<T> context)
Yields an operator which rounds any entity down so that the child
elements will be set to the minimum.
|
<T extends ChronoEntity<T>> |
AdvancedElement.decremented(Class<T> context)
Yields a new operator which can set any entity such that its
actual element value gets the decremented value.
|
<T extends ChronoEntity<T>> |
UnitRule.Source.derive(Chronology<T> chronology)
Derives an optional unit rule for given chronology.
|
<T extends ChronoEntity<T>> |
AdvancedElement.incremented(Class<T> context)
Yields a new operator which can set any entity such that its
actual element value gets the incremented value.
|
static <T extends ChronoEntity<T>> |
Chronology.lookup(Class<T> chronoType)
Returns a typed singleton per
ChronoEntity-class. |
<T extends ChronoEntity<T>> |
AdvancedElement.maximized(Class<T> context)
Yields a new operator which can set any entity to its maximum
element value.
|
<T extends ChronoEntity<T>> |
AdvancedElement.minimized(Class<T> context)
Yields a new operator which can set any entity to its minimum
element value.
|
<T extends ChronoEntity<T>> |
ChronoExtension.resolve(T entity)
Updates the given value source if necessary in order to resolve
the values of extension elements to values of standard elements.
|
<T extends ChronoEntity<T>> |
AdvancedElement.setLenient(V value,
Class<T> context)
Yields an operator which sets any entity such that its actual
element value will be set in lenient mode to given value.
|
static <T extends ChronoEntity<T>> |
Chronology.Builder.setUp(Class<T> chronoType,
ChronoMerger<T> chronoMerger)
Creates a builder for building a new chronological system.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoEntity<?> |
ChronoMerger.preformat(T context,
AttributeQuery attributes)
Transforms the current context/entity into another entity which
finally shall be formatted using given attributes.
|
ChronoEntity<?> |
Chronology.preformat(T context,
AttributeQuery attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
EpochDays.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2) |
int |
EpochDays.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2) |
int |
ChronoElement.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2)
Applies an element-orientated sorting of any chronological
entities.
|
int |
ChronoElement.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2)
Applies an element-orientated sorting of any chronological
entities.
|
int |
AdvancedElement.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2)
Compares the values of this element based on their natural order.
|
int |
AdvancedElement.compare(ChronoEntity<?> o1,
ChronoEntity<?> o2)
Compares the values of this element based on their natural order.
|
T |
ChronoMerger.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Konstruiert eine neue Entität basierend auf den angegebenen
chronologischen Daten.
|
T |
Chronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChronoFormatter<T extends ChronoEntity<T>>
Represents a chronological format for the conversion between a
chronological text and the chronological value of type T.
|
static class |
ChronoFormatter.Builder<T extends ChronoEntity<T>>
Builder for creating a new
ChronoFormatter. |
| Modifier and Type | Method and Description |
|---|---|
<V extends ChronoEntity<V>> |
ChronoFormatter.Builder.addCustomized(ChronoElement<V> element,
ChronoFormatter<V> formatter)
Defines a customized format element for given chronological
element.
|
static <T extends ChronoEntity<T>> |
ChronoFormatter.setUp(Class<T> type,
Locale locale)
Constructs a builder for creating formatters.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoEntity<?> |
ParseLog.getRawValues()
Yields the parsed raw data as chronological entity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextElement.print(ChronoEntity<?> context,
Appendable buffer,
AttributeQuery attributes)
Converts the element value in given context to a formatted text.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFormatter.Builder<T> |
ChronoFormatter.Builder.startOptionalSection(ChronoCondition<ChronoEntity<?>> printCondition)
Starts a new optional section where errors in parsing will
not cause an exception but just be ignored.
|
Copyright © 2014. All rights reserved.