| 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 | Class and Description |
|---|---|
class |
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules
for all times.
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends Calendrical<?,C>> |
GeneralTimestamp.of(C calendrical,
PlainTime time)
Creates a new timestamp consisting of a general date and a time component.
|
<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 |
Calendrical<U,D extends Calendrical<U,D>>
Abstract base class of all plain calendar date types which are
convertible via their day epoch numbers.
|
| Modifier and Type | Method and Description |
|---|---|
static <U,D extends Calendrical<U,D>> |
TimeAxis.Builder.setUp(Class<U> unitType,
Class<D> chronoType,
ChronoMerger<D> merger,
CalendarSystem<D> calendarSystem)
Creates a builder for building a time axis for
plain calendrical objects.
|
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].
|
default <T extends Calendrical<?,T>> |
CalendarDate.transform(Class<T> target)
Converts this calendar date to the given target type based on
the count of days relative to UTC epoch [1972-01-01].
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
StartOfDay.getDeviation(Calendrical<?,?> calendarDay,
TZID tzid)
Deprecated.
The signature will be changed in next major release such
that the type
CalendarDate will be used instead of Calendrical |
Copyright © 2014–2017. All rights reserved.