| 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.calendar.hindu |
Support for the traditional Hindu calendar family.
|
| 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.
|
| 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 |
AnnualDate
Represents a combination of month and day-of-month as XML-pendant for
xsd:gMonthDay. |
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 |
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 |
EthiopianTime
Represents the 12-hour-time in second precision used in Ethiopia
starting in the morning at 6 AM as zero point.
|
class |
HebrewCalendar
Represents the calendar used by the worldwide Jewish community, but mainly in Israel for religious purposes.
|
class |
HebrewTime
Represents the 12-hour-time used in Jewish calendar starting in the evening
at either sunset or simplified at 6 PM as zero point.
|
class |
HijriCalendar
Represents the Hijri calendar used in many islamic countries.
|
class |
HistoricCalendar
Represents the historic christian calendar used in most European countries.
|
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.
|
static class |
PersianCalendar.Date
Static view of calendar date taking into account possibly different calendar algorithms.
|
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.
|
static class |
FrenchRepublicanCalendar.Date
Static view of calendar date taking into account possibly different calendar algorithms.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HinduCalendar
The traditional Hindu calendar which exists in many regional variants throughout the Indian
subcontinent.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFormatter.Builder<T> |
ChronoFormatter.Builder.startOptionalSection(ChronoCondition<ChronoDisplay> printCondition)
Starts a new optional section where errors in parsing will
not cause an exception but just be ignored.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalendarMonth
Represents the month of a gregorian calendar year as interval
(like from 1st of January until end of January).
|
class |
CalendarQuarter
Represents the quarter of a gregorian calendar year as interval
(like from 1st of January until end of March).
|
class |
CalendarWeek
Represents the calendar week starting on Monday according to ISO-8601-paper.
|
class |
CalendarYear
Represents a full gregorian calendar year as interval from 1st of January until end of December.
|
class |
FixedCalendarInterval<T extends FixedCalendarInterval<T>>
Represents a fixed calendar interval.
|
class |
SpanOfWeekdays
Describes an arbitrary span of weekdays.
|
Copyright © 2014–2021. All rights reserved.