| 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 | Method and Description |
|---|---|
static <S> Chronology<S> |
Moment.axis(Converter<S,Moment> converter)
Provides a static access to the associated time axis using the foreign type S.
|
static <S> Chronology<S> |
PlainDate.axis(Converter<S,PlainDate> converter)
Provides a static access to the associated time axis using the foreign type S.
|
static <S> Chronology<S> |
PlainTime.axis(Converter<S,PlainTime> converter)
Provides a static access to the associated time axis using the foreign type S.
|
static <S> Chronology<S> |
PlainTimestamp.axis(Converter<S,PlainTimestamp> converter)
Provides a static access to the associated time axis using the foreign type S.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ChronoEntity<T>> |
ZonalClock.now(Chronology<T> chronology)
Gets the current timestamp in the associated timezone and given chronology.
|
<C extends Calendrical<?,C>> |
Moment.toGeneralTimestamp(Chronology<C> chronology,
TZID tzid,
StartOfDay startOfDay)
Converts this instance to a general timestamp in given timezone.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BridgeChronology<S,T extends ChronoEntity<T>>
Represents a foreign chronology which delegates formatting and parsing to a chronology in Time4J.
|
class |
CalendarFamily<T extends CalendarVariant<T>>
Represents a set of various calendar systems as members of a family.
|
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 |
|---|---|
Chronology<T> |
Chronology.Builder.build()
Finishes the build of a new chronology.
|
static <T extends ChronoEntity<T>> |
Chronology.lookup(Class<T> chronoType)
Returns a typed singleton per
ChronoEntity-class. |
default Chronology<?> |
ChronoMerger.preparser()
This method defines a child chronology which can preparse
a chronological text.
|
Chronology<?> |
Chronology.preparser() |
Chronology<?> |
BridgeChronology.preparser() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Chronology<? extends CalendarDate>> |
CalendarProvider.findChronology(String name)
Obtains a suitable chronology for given name.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends Calendrical<?,T>> |
CalendarDate.transform(Chronology<T> target)
Converts this calendar date to the given target chronology based on
the count of days relative to UTC epoch [1972-01-01].
|
| Constructor and Description |
|---|
BridgeChronology(Converter<S,T> converter,
Chronology<T> delegate)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarText |
CalendarText.getInstance(Chronology<?> chronology,
Locale locale)
Returns an instance of
CalendarText for given chronology
and language. |
| Constructor and Description |
|---|
Builder(Chronology<?> chronology)
Constructor for determining the calendar type.
|
Copyright © 2014–2017. All rights reserved.