| 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.
|
| Modifier and Type | Method and Description |
|---|---|
<C extends CalendarVariant<C>> |
ZonalClock.now(CalendarFamily<C> family,
String variant,
StartOfDay startOfDay)
Gets the current timestamp in the associated timezone and given chronology taking into account
given calendar variant and start of day.
|
<C extends CalendarVariant<C>> |
ZonalClock.now(CalendarFamily<C> family,
VariantSource variantSource,
StartOfDay startOfDay)
Equivalent to
now(chronology, variantSource.getVariant(), startOfDay). |
<C extends CalendarVariant<C>> |
Moment.toGeneralTimestamp(CalendarFamily<C> family,
String variant,
TZID tzid,
StartOfDay startOfDay)
Converts this instance to a general timestamp in given timezone.
|
| Modifier and Type | Method and Description |
|---|---|
CalendarFamily<T> |
CalendarFamily.Builder.build()
Creates and registers a calendar family.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends CalendarVariant<T>> |
CalendarDate.transform(CalendarFamily<T> target,
String variant)
Converts this calendar date to the given target chronology based on
the count of days relative to UTC epoch [1972-01-01].
|
default <T extends CalendarVariant<T>> |
CalendarDate.transform(CalendarFamily<T> target,
VariantSource variantSource)
Converts this calendar date to the given target chronology based on
the count of days relative to UTC epoch [1972-01-01].
|
Copyright © 2014–2017. All rights reserved.