Uses of Annotation Interface
net.time4j.engine.FormattableElement
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Support for the Badi calendar.
Support for the French revolutionary calendar.
Support for the traditional Hindu calendar family.
Support for the historical ancestors of modern ISO-8601-standard.
Interval support.
-
Uses of FormattableElement in net.time4j
Modifier and TypeFieldDescriptionstatic ZonalElement<Meridiem>
PlainTime.AM_PM_OF_DAY
Element with the half day section relative to noon (ante meridiem or post meridiem).static AdjustableElement<Integer,PlainTime>
PlainTime.CLOCK_HOUR_OF_AMPM
Element with the hour of half day in the value range1-12
(dial on an analogue watch).static AdjustableElement<Integer,PlainTime>
PlainTime.CLOCK_HOUR_OF_DAY
Element with the hour in the value range1-24
(analogue display).static ChronoElement<Integer>
AnnualDate.DAY_OF_MONTH
Element with the day of month in the value range1-28/29/30/31
.static ProportionalElement<Integer,PlainDate>
PlainDate.DAY_OF_MONTH
Element with the day of month in the value range1-28/29/30/31
.static NavigableElement<Weekday>
PlainDate.DAY_OF_WEEK
Element with the day of week in the value rangeMONDAY-SUNDAY
.static ProportionalElement<Integer,PlainDate>
PlainDate.DAY_OF_YEAR
Element with the day of year in the value range1-365/366
).static ProportionalElement<Integer,PlainTime>
PlainTime.DIGITAL_HOUR_OF_AMPM
Element with the digital hour of half day in the value range0-11
.static ProportionalElement<Integer,PlainTime>
PlainTime.DIGITAL_HOUR_OF_DAY
Element with the digital hour in the value range0-23
.static ProportionalElement<Integer,PlainTime>
PlainTime.MILLI_OF_DAY
Element with the day time in milliseconds in the value range0-86400000
.static ProportionalElement<Integer,PlainTime>
PlainTime.MINUTE_OF_HOUR
Element with the minute of hour in the value range0-59
.static ProportionalElement<Integer,PlainDate>
PlainDate.MONTH_AS_NUMBER
Element with the calendar month in numerical form and the value range1-12
.static ChronoElement<Month>
AnnualDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value rangeJANUARY-DECEMBER
).static NavigableElement<Month>
PlainDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value rangeJANUARY-DECEMBER
).static ProportionalElement<Integer,PlainTime>
PlainTime.NANO_OF_SECOND
Element with the nanosecond in the value range0-999999999
.static NavigableElement<Quarter>
PlainDate.QUARTER_OF_YEAR
Element with the quarter of year in the value rangeQ1-Q4
.static ProportionalElement<Integer,PlainTime>
PlainTime.SECOND_OF_MINUTE
Element with the second of minute in the value range0-59
.static OrdinalWeekdayElement
PlainDate.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month in the value range1-5
.static AdjustableElement<Integer,PlainDate>
PlainDate.YEAR
Element with the proleptic iso-year without any era reference and the value range-999999999
until999999999
.static AdjustableElement<Integer,PlainDate>
PlainDate.YEAR_OF_WEEKDATE
Defines an element for the week-based year in an ISO-8601-weekdate.Modifier and TypeMethodDescriptionWeekmodel.localDayOfWeek()
Defines an element for the weekday with a localized day number in the value range1-7
.Weekmodel.weekOfMonth()
Defines an element for the calendar week of month with a localized week number.Weekmodel.weekOfYear()
Defines an element for the calendar week of year with a localized week number. -
Uses of FormattableElement in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic ChronoElement<Meridiem>
EthiopianTime.AM_PM_OF_DAY
Behaves likePlainTime.AM_PM_OF_DAY
.static StdCalendarElement<Integer,HebrewTime>
HebrewTime.CLOCK_HOUR
The Hebrew hour with the biblical value range 1-12 which is coupled to the sun cycle.static StdCalendarElement<Integer,ChineseCalendar>
ChineseCalendar.DAY_OF_MONTH
Represents the Chinese day of month.static StdCalendarElement<Integer,CopticCalendar>
CopticCalendar.DAY_OF_MONTH
Represents the Coptic day of month.static StdCalendarElement<Integer,EthiopianCalendar>
EthiopianCalendar.DAY_OF_MONTH
Represents the Ethiopian day of month.static StdCalendarElement<Integer,HebrewCalendar>
HebrewCalendar.DAY_OF_MONTH
Represents the Hebrew day of month.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.DAY_OF_MONTH
Represents the islamic day of month.static StdCalendarElement<Integer,HistoricCalendar>
HistoricCalendar.DAY_OF_MONTH
Represents the historic day of month.static StdCalendarElement<Integer,IndianCalendar>
IndianCalendar.DAY_OF_MONTH
Represents the Indian day of month.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.DAY_OF_MONTH
Represents the Japanese day of month.static StdCalendarElement<Integer,JucheCalendar>
JucheCalendar.DAY_OF_MONTH
Represents the day of month.static ChronoElement<Integer>
JulianCalendar.DAY_OF_MONTH
Represents the Julian day of month.static StdCalendarElement<Integer,KoreanCalendar>
KoreanCalendar.DAY_OF_MONTH
Represents the Korean day of month.static StdCalendarElement<Integer,MinguoCalendar>
MinguoCalendar.DAY_OF_MONTH
Represents the day of month.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.DAY_OF_MONTH
Represents the Persian day of month.static StdCalendarElement<Integer,ThaiSolarCalendar>
ThaiSolarCalendar.DAY_OF_MONTH
Represents the day of month.static StdCalendarElement<Integer,VietnameseCalendar>
VietnameseCalendar.DAY_OF_MONTH
Represents the Vietnamese day of month.static StdCalendarElement<Weekday,ChineseCalendar>
ChineseCalendar.DAY_OF_WEEK
Represents the Chinese day of week.static StdCalendarElement<Weekday,CopticCalendar>
CopticCalendar.DAY_OF_WEEK
Represents the Coptic day of week.static StdCalendarElement<Weekday,EthiopianCalendar>
EthiopianCalendar.DAY_OF_WEEK
Represents the Ethiopian day of week.static StdCalendarElement<Weekday,HebrewCalendar>
HebrewCalendar.DAY_OF_WEEK
Represents the Hebrew day of week.static StdCalendarElement<Weekday,HijriCalendar>
HijriCalendar.DAY_OF_WEEK
Represents the islamic day of week.static StdCalendarElement<Weekday,HistoricCalendar>
HistoricCalendar.DAY_OF_WEEK
Represents the historic day of week.static StdCalendarElement<Weekday,IndianCalendar>
IndianCalendar.DAY_OF_WEEK
Represents the Indian day of week.static StdCalendarElement<Weekday,JapaneseCalendar>
JapaneseCalendar.DAY_OF_WEEK
Represents the Japanese day of week.static StdCalendarElement<Weekday,JucheCalendar>
JucheCalendar.DAY_OF_WEEK
Represents the day of week.static ChronoElement<Weekday>
JulianCalendar.DAY_OF_WEEK
Represents the Julian day of week.static StdCalendarElement<Weekday,KoreanCalendar>
KoreanCalendar.DAY_OF_WEEK
Represents the Korean day of week.static StdCalendarElement<Weekday,MinguoCalendar>
MinguoCalendar.DAY_OF_WEEK
Represents the day of week.static StdCalendarElement<Weekday,PersianCalendar>
PersianCalendar.DAY_OF_WEEK
Represents the Persian day of week.static StdCalendarElement<Weekday,ThaiSolarCalendar>
ThaiSolarCalendar.DAY_OF_WEEK
Represents the day of week.static StdCalendarElement<Weekday,VietnameseCalendar>
VietnameseCalendar.DAY_OF_WEEK
Represents the Vietnamese day of week.static StdCalendarElement<Integer,ChineseCalendar>
ChineseCalendar.DAY_OF_YEAR
Represents the Chinese day of year.static StdCalendarElement<Integer,CopticCalendar>
CopticCalendar.DAY_OF_YEAR
Represents the Coptic day of year.static StdCalendarElement<Integer,EthiopianCalendar>
EthiopianCalendar.DAY_OF_YEAR
Represents the Ethiopian day of year.static StdCalendarElement<Integer,HebrewCalendar>
HebrewCalendar.DAY_OF_YEAR
Represents the Hebrew day of year.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.DAY_OF_YEAR
Represents the islamic day of year.static StdCalendarElement<Integer,HistoricCalendar>
HistoricCalendar.DAY_OF_YEAR
Represents the historic day of year.static StdCalendarElement<Integer,IndianCalendar>
IndianCalendar.DAY_OF_YEAR
Represents the Indian day of year.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.DAY_OF_YEAR
Represents the Japanese day of year.static StdCalendarElement<Integer,JucheCalendar>
JucheCalendar.DAY_OF_YEAR
Represents the day of year.static ChronoElement<Integer>
JulianCalendar.DAY_OF_YEAR
Represents the Julian day of year.static StdCalendarElement<Integer,KoreanCalendar>
KoreanCalendar.DAY_OF_YEAR
Represents the Korean day of year.static StdCalendarElement<Integer,MinguoCalendar>
MinguoCalendar.DAY_OF_YEAR
Represents the day of year.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.DAY_OF_YEAR
Represents the Persian day of year.static StdCalendarElement<Integer,ThaiSolarCalendar>
ThaiSolarCalendar.DAY_OF_YEAR
Represents the day of year.static StdCalendarElement<Integer,VietnameseCalendar>
VietnameseCalendar.DAY_OF_YEAR
Represents the Vietnamese day of year.static StdCalendarElement<Integer,HebrewTime>
HebrewTime.DIGITAL_HOUR
The Hebrew hour with the digital value range 0-23 which is coupled to the sun cycle.static ChronoElement<Integer>
EthiopianTime.DIGITAL_HOUR_OF_DAY
Behaves likePlainTime.DIGITAL_HOUR_OF_DAY
with the hour range 0-23.static ChronoElement<ChineseEra>
ChineseCalendar.ERA
Represents the Chinese era.static ChronoElement<CopticEra>
CopticCalendar.ERA
Represents the Coptic era.static ChronoElement<EthiopianEra>
EthiopianCalendar.ERA
Represents the Ethiopian era.static ChronoElement<HebrewEra>
HebrewCalendar.ERA
Represents the Hebrew era.static ChronoElement<HijriEra>
HijriCalendar.ERA
Represents the islamic era.static ChronoElement<HistoricEra>
HistoricCalendar.ERA
Represents the historic era.static ChronoElement<IndianEra>
IndianCalendar.ERA
Represents the Indian era.static TextElement<Nengo>
JapaneseCalendar.ERA
Represents the Japanese era (nengo).static ChronoElement<JucheEra>
JucheCalendar.ERA
Represents the Juche era which cannot be changed.static ChronoElement<HistoricEra>
JulianCalendar.ERA
Represents the Julian era.static ChronoElement<KoreanEra>
KoreanCalendar.ERA
Represents the Korean era.static ChronoElement<MinguoEra>
MinguoCalendar.ERA
Represents the Minguo era which cannot be changed.static ChronoElement<PersianEra>
PersianCalendar.ERA
Represents the Persian era.static ChronoElement<ThaiSolarEra>
ThaiSolarCalendar.ERA
Represents the Thai era.static ChronoElement<Integer>
EthiopianTime.ETHIOPIAN_HOUR
The Ethiopian hour with the range 1-12 which is 6 hours behind the western clock.static ChronoElement<Integer>
EthiopianTime.MINUTE_OF_HOUR
The minute of hour with the range 0-59.static TextElement<EastAsianMonth>
ChineseCalendar.MONTH_OF_YEAR
Represents the Chinese month.static StdCalendarElement<CopticMonth,CopticCalendar>
CopticCalendar.MONTH_OF_YEAR
Represents the Coptic month.EthiopianCalendar.MONTH_OF_YEAR
Represents the Ethiopian month.static StdCalendarElement<HebrewMonth,HebrewCalendar>
HebrewCalendar.MONTH_OF_YEAR
Represents the Hebrew month.static StdCalendarElement<HijriMonth,HijriCalendar>
HijriCalendar.MONTH_OF_YEAR
Represents the islamic month.static StdCalendarElement<Month,HistoricCalendar>
HistoricCalendar.MONTH_OF_YEAR
Represents the historic month.static StdCalendarElement<IndianMonth,IndianCalendar>
IndianCalendar.MONTH_OF_YEAR
Represents the Indian month.static TextElement<EastAsianMonth>
JapaneseCalendar.MONTH_OF_YEAR
Represents the Japanese month.static StdCalendarElement<Month,JucheCalendar>
JucheCalendar.MONTH_OF_YEAR
Represents the month.static TextElement<Integer>
JulianCalendar.MONTH_OF_YEAR
Represents the Julian month.static TextElement<EastAsianMonth>
KoreanCalendar.MONTH_OF_YEAR
Represents the Korean month.static StdCalendarElement<Month,MinguoCalendar>
MinguoCalendar.MONTH_OF_YEAR
Represents the month.PersianCalendar.MONTH_OF_YEAR
Represents the Persian month.static StdCalendarElement<Month,ThaiSolarCalendar>
ThaiSolarCalendar.MONTH_OF_YEAR
Represents the month.static TextElement<EastAsianMonth>
VietnameseCalendar.MONTH_OF_YEAR
Represents the Vietnamese month.static StdCalendarElement<Integer,HebrewTime>
HebrewTime.PART_OF_HOUR
Marks the part of hour (helek) with the value range 0-1079.static ChronoElement<Integer>
CommonElements.RELATED_GREGORIAN_YEAR
Represents the related gregorian year which corresponds to the start of any given non-gregorian calendar year.static TextElement<Integer>
HistoricCalendar.RELATED_STANDARD_YEAR
Represents the related standard year within current era which starts on first of January.static ChronoElement<Integer>
EthiopianTime.SECOND_OF_MINUTE
The second of minute with the range 0-59.static OrdinalWeekdayElement<ChineseCalendar>
ChineseCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<CopticCalendar>
CopticCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.EthiopianCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<HebrewCalendar>
HebrewCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<HijriCalendar>
HijriCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.HistoricCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<IndianCalendar>
IndianCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.JapaneseCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<JucheCalendar>
JucheCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<JulianCalendar>
JulianCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<KoreanCalendar>
KoreanCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<MinguoCalendar>
MinguoCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<PersianCalendar>
PersianCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.ThaiSolarCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.VietnameseCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static TextElement<CyclicYear>
ChineseCalendar.YEAR_OF_CYCLE
Represents the Chinese year related to the current sexagesimal cycle.static TextElement<CyclicYear>
KoreanCalendar.YEAR_OF_CYCLE
Represents the Korean year related to the current sexagesimal cycle.static TextElement<CyclicYear>
VietnameseCalendar.YEAR_OF_CYCLE
Represents the Vietnamese year related to the current sexagesimal cycle.static StdCalendarElement<Integer,ChineseCalendar>
ChineseCalendar.YEAR_OF_ERA
Represents the Chinese year related to the Chinese era.static StdCalendarElement<Integer,CopticCalendar>
CopticCalendar.YEAR_OF_ERA
Represents the Coptic year.static StdCalendarElement<Integer,EthiopianCalendar>
EthiopianCalendar.YEAR_OF_ERA
Represents the Ethiopian year.static StdCalendarElement<Integer,HebrewCalendar>
HebrewCalendar.YEAR_OF_ERA
Represents the Hebrew year.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.YEAR_OF_ERA
Represents the islamic year.static StdCalendarElement<Integer,IndianCalendar>
IndianCalendar.YEAR_OF_ERA
Represents the Indian year.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.YEAR_OF_ERA
Represents the Japanese year associated with a nengo.static StdCalendarElement<Integer,JucheCalendar>
JucheCalendar.YEAR_OF_ERA
Represents the Juche year.static ChronoElement<Integer>
JulianCalendar.YEAR_OF_ERA
Represents the Julian year.static ChronoElement<Integer>
KoreanCalendar.YEAR_OF_ERA
Represents the Korean year related to the Korean era.static StdCalendarElement<Integer,MinguoCalendar>
MinguoCalendar.YEAR_OF_ERA
Represents the Minguo year.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.YEAR_OF_ERA
Represents the Persian year.static StdCalendarElement<Integer,ThaiSolarCalendar>
ThaiSolarCalendar.YEAR_OF_ERA
Represents the Thai year, usually in buddhist counting.Modifier and TypeMethodDescriptionstatic <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Weekday,T>CommonElements.localDayOfWeek(Chronology<T> chronology, Weekmodel model)
Defines an element for the weekday with a localized day number in the value range1-7
.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.weekOfMonth(Chronology<T> chronology, Weekmodel model)
Creates an integer element for the week of month in given chronology dependent on given week model.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.weekOfYear(Chronology<T> chronology, Weekmodel model)
Creates an integer element for the week of year in given chronology dependent on given week model. -
Uses of FormattableElement in net.time4j.calendar.bahai
Modifier and TypeFieldDescriptionstatic ChronoElement<BadiIntercalaryDays>
BadiCalendar.AYYAM_I_HA
Represents the period of intercalary days if available.static StdCalendarElement<Integer,BadiCalendar>
BadiCalendar.DAY_OF_DIVISION
Represents the day of month or an intercalary day.static StdCalendarElement<Weekday,BadiCalendar>
BadiCalendar.DAY_OF_WEEK
Represents the day of week.static ChronoElement<BadiEra>
BadiCalendar.ERA
Represents the Bahai era.static ChronoElement<Integer>
BadiCalendar.KULL_I_SHAI
Represents the major cycle (kull-i-shai).static StdCalendarElement<BadiMonth,BadiCalendar>
BadiCalendar.MONTH_OF_YEAR
Represents the month if available.static StdCalendarElement<Integer,BadiCalendar>
BadiCalendar.VAHID
Represents the vahid cycle which consists of 19 years.static StdCalendarElement<Integer,BadiCalendar>
BadiCalendar.YEAR_OF_ERA
Represents the proleptic year of era (relative to gregorian year 1844).static TextElement<Integer>
BadiCalendar.YEAR_OF_VAHID
Represents the year of vahid cycle. -
Uses of FormattableElement in net.time4j.calendar.frenchrev
Modifier and TypeFieldDescriptionstatic ChronoElement<DayOfDecade>
FrenchRepublicanCalendar.DAY_OF_DECADE
Represents the days of decade which consists of ten days.FrenchRepublicanCalendar.DAY_OF_MONTH
Represents the day of month if available.FrenchRepublicanCalendar.DAY_OF_WEEK
Represents the day of week where the week is seven days long.static ChronoElement<FrenchRepublicanEra>
FrenchRepublicanCalendar.ERA
Represents the Republican era of the French revolution.FrenchRepublicanCalendar.MONTH_OF_YEAR
Represents the month (Vendémiaire - Fructidor) if available.static ChronoElement<Sansculottides>
FrenchRepublicanCalendar.SANSCULOTTIDES
Represents the complementary days of the French revolutionary calendar.FrenchRepublicanCalendar.YEAR_OF_ERA
Represents the republican year since 1792-09-22 (in range 1-1202). -
Uses of FormattableElement in net.time4j.calendar.hindu
Modifier and TypeFieldDescriptionstatic AdjustableTextElement<HinduDay>
HinduCalendar.DAY_OF_MONTH
Represents the Hindu day of month.static StdCalendarElement<Weekday,HinduCalendar>
HinduCalendar.DAY_OF_WEEK
Represents the Hindu day of week.static StdCalendarElement<Integer,HinduCalendar>
HinduCalendar.DAY_OF_YEAR
Represents the Hindu day of year.static ChronoElement<HinduEra>
HinduCalendar.ERA
Represents the Hindu era.static AdjustableTextElement<HinduMonth>
HinduCalendar.MONTH_OF_YEAR
Represents the Hindu month.static StdCalendarElement<Integer,HinduCalendar>
HinduCalendar.YEAR_OF_ERA
Represents the Hindu year. -
Uses of FormattableElement in net.time4j.history
Modifier and TypeMethodDescriptionChronoHistory.dayOfMonth()
Defines the element for the historic day of month.ChronoHistory.dayOfYear()
Defines the element for the historic day of year.ChronoHistory.era()
Defines the element for the historic era.ChronoHistory.month()
Defines the element for the historic month.ChronoHistory.yearOfEra()
Defines the element for the year of a given historic era. -
Uses of FormattableElement in net.time4j.range
Modifier and TypeFieldDescriptionstatic ChronoElement<Weekday>
SpanOfWeekdays.END
Denotes the end of this span of weekdays (inclusive).static ChronoElement<Month>
CalendarMonth.MONTH_OF_YEAR
Element with the month of year in the value rangeJanuary - December
.static ChronoElement<Quarter>
CalendarQuarter.QUARTER_OF_YEAR
Element with the quarter of year in the value rangeQ1-Q4
.static ChronoElement<Weekday>
SpanOfWeekdays.START
Denotes the start of this span of weekdays.static ChronoElement<Integer>
CalendarWeek.WEEK_OF_YEAR
Element with the week of year in the value range1-52/53
.static ChronoElement<Integer>
CalendarMonth.YEAR
Element with the proleptic iso-year without any era reference and the value range-999999999
until999999999
.static ChronoElement<Integer>
CalendarQuarter.YEAR
Element with the proleptic iso-year without any era reference and the value range-999999999
until999999999
.static ChronoElement<Integer>
CalendarYear.YEAR
Element with the proleptic iso-year without any era reference and the value range-999999999
until999999999
.static ChronoElement<Integer>
CalendarWeek.YEAR_OF_WEEKDATE
Defines an element for the week-based year in an ISO-8601-weekdate.