| 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.
|
class |
ZonalMoment
Combination of UTC-moment and timezone.
|
| 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 |
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 |
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 |
|---|---|
ChronoDisplay |
ChronoMerger.preformat(T context,
AttributeQuery attributes)
Transforms the current context/entity into another set of chronological
values which finally shall be formatted using given attributes.
|
ChronoDisplay |
Chronology.preformat(T context,
AttributeQuery attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
EpochDays.compare(ChronoDisplay o1,
ChronoDisplay o2) |
int |
ChronoElement.compare(ChronoDisplay o1,
ChronoDisplay o2)
Applies an element-orientated sorting of any chronological
entities.
|
int |
AdvancedElement.compare(ChronoDisplay o1,
ChronoDisplay o2)
Compares the values of this element based on their natural order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextElement.print(ChronoDisplay context,
Appendable buffer,
AttributeQuery attributes)
Converts the element value in given context to a formatted text.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
ChronoPrinter.print(T formattable,
Appendable buffer,
AttributeQuery attributes,
ChronoFunction<ChronoDisplay,R> query)
Creates a text output and writes it into given buffer.
|
<R> R |
ChronoFormatter.print(T formattable,
Appendable buffer,
AttributeQuery attributes,
ChronoFunction<ChronoDisplay,R> query) |
ChronoFormatter.Builder<T> |
ChronoFormatter.Builder.startOptionalSection(ChronoCondition<ChronoDisplay> printCondition)
Starts a new optional section where errors in parsing will
not cause an exception but just be ignored.
|
Copyright © 2014. All rights reserved.