| 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 |
Defines common interfaces for any format support of Time4J.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GeneralTimestamp<C>
Represents a general timestamp consisting of a general date and a 24-hour-clock time.
|
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 using the gregorian calendar rules
for all times.
|
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 |
ZonalDateTime
Combination of UTC-moment and timezone.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFunction<ChronoDisplay,String> |
DayPeriod.approximate()
Equivalent to
approximate(TextWidth.WIDE, OutputContext.FORMAT). |
ChronoFunction<ChronoDisplay,String> |
DayPeriod.approximate(TextWidth width,
OutputContext outputContext)
Represents a flexible day period (in the afternoon, at night etc).
|
ChronoFunction<ChronoDisplay,String> |
DayPeriod.fixed()
Equivalent to
fixed(TextWidth.WIDE, OutputContext.FORMAT). |
ChronoFunction<ChronoDisplay,String> |
DayPeriod.fixed(TextWidth width,
OutputContext outputContext)
Represents a fixed day period (am / pm / midnight / noon).
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalendarVariant<D extends CalendarVariant<D>>
Represents an immutable calendar variant.
|
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 |
BridgeChronology.preformat(S context,
AttributeQuery attributes) |
default 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 |
ValidationElement.compare(ChronoDisplay o1,
ChronoDisplay o2) |
int |
FlagElement.compare(ChronoDisplay o1,
ChronoDisplay o2) |
int |
EpochDays.compare(ChronoDisplay o1,
ChronoDisplay o2) |
int |
ChronoElement.compare(ChronoDisplay o1,
ChronoDisplay o2)
Applies an element-orientated sorting of any chronological
entities.
|
int |
BasicElement.compare(ChronoDisplay o1,
ChronoDisplay o2)
Compares the values of this element based on their natural order.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoDisplay |
RawValues.get()
Yields the chronological raw values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RawValues.accept(ChronoDisplay rawValues)
Consumes given chronological raw values.
|
void |
TextElement.print(ChronoDisplay context,
Appendable buffer,
AttributeQuery attributes)
Converts the element value in given context to a formatted text.
|
default int |
NumericalElement.printToInt(V value,
ChronoDisplay context,
AttributeQuery attributes)
Translates given element value to a numerical integer.
|
Copyright © 2014–2017. All rights reserved.