| 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 |
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 | 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>> |
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>> |
AdvancedElement.newValue(V value,
Class<T> context)
Yields an operator which sets any entity such that its actual
element value will be set in normal mode to given 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 |
|---|---|
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.
|
ChronoEntity<?> |
ChronoFormatter.parseRaw(CharSequence text,
int offset)
Translates given text as raw chronological entity without
converting to the target type of the underlying chronology.
|
ChronoEntity<?> |
ChronoFormatter.parseRaw(String text)
Translates given text as raw chronological entity without
converting to the target type of the underlying chronology.
|
Copyright © 2014. All rights reserved.