| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.calendar |
Support for various regional calendars.
|
| net.time4j.calendar.bahai |
Support for the Badi calendar.
|
| net.time4j.calendar.frenchrev |
Support for the French revolutionary calendar.
|
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| net.time4j.format.expert |
This package contains the expert-level format- and parse engine of Time4J.
|
| net.time4j.range |
Interval support.
|
| 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 |
ChineseCalendar
Represents the Chinese calendar supported in the gregorian range 1645-01-28/3000-01-27.
|
class |
CopticCalendar
Represents the calendar used by the Coptic church in Egypt.
|
class |
EastAsianCalendar<U,D extends EastAsianCalendar<U,D>>
Base class of all calendars which are derivates of the lunisolar rural calendar invented in China.
|
class |
EthiopianCalendar
Represents the calendar used in Ethiopia.
|
class |
HebrewCalendar
Represents the calendar used by the worldwide Jewish community, but mainly in Israel for religious purposes.
|
class |
IndianCalendar
Represents the national calendar of India.
|
class |
JapaneseCalendar
Represents the Japanese calendar from 701 AD (julian) until now.
|
class |
JucheCalendar
The Juche calendar used in North Korea uses as only difference to western gregorian
calendar a different year numbering with the Juche era 1912-01-01.
|
class |
JulianCalendar
Represents the proleptic Julian calendar.
|
class |
KoreanCalendar
Represents the traditional Koran calendar supported in the gregorian range 1645-01-28/3000-01-27.
|
class |
MinguoCalendar
The Minguo calendar used in Taiwan (Republic Of China) uses as only difference to western gregorian
calendar a different year numbering with the Minguo era 1912-01-01.
|
class |
PersianCalendar
Represents the Solar Hijri calendar which is officially used in Iran and Afghanistan.
|
class |
ThaiSolarCalendar
The Thai solar calendar calendar used in Thailand uses as only difference to western gregorian
calendar a different year numbering with the Buddhist era mainly.
|
class |
VietnameseCalendar
Represents the Vietnamese calendar supported in the gregorian range 1813-02-01/3000-01-27.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BadiCalendar
Represents the calendar used by the Baha'i community.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FrenchRepublicanCalendar
Represents the calendar used in French Revolution between 1792 and 1805.
|
| 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 <T extends Calendrical<?,T>> |
CalendarDate.from(ChronoLocalDate threeten,
Chronology<T> target)
Converts the calendar date corresponding to
ChronoLocalDate in given target chronology. |
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 |
|---|---|
static <C extends Calendrical<?,C>> |
ChronoFormatter.setUpWithOverride(Locale locale,
Chronology<C> overrideCalendar)
Constructs a builder for creating global formatters with usage of given calendar type.
|
| Modifier and Type | Method and Description |
|---|---|
static <U,D extends Calendrical<U,D>> |
CalendarPeriod.on(TimeAxis<U,D> axis)
Defines a timeline on which new generic calendar intervals can be created.
|
Copyright © 2014–2021. All rights reserved.