Uses of Annotation Interface
net.time4j.engine.FormattableElement
Packages that use 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
Fields in net.time4j with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic ZonalElement<Meridiem>PlainTime.AM_PM_OF_DAYElement with the half day section relative to noon (ante meridiem or post meridiem).static AdjustableElement<Integer,PlainTime>PlainTime.CLOCK_HOUR_OF_AMPMElement with the hour of half day in the value range1-12(dial on an analogue watch).static AdjustableElement<Integer,PlainTime>PlainTime.CLOCK_HOUR_OF_DAYElement with the hour in the value range1-24(analogue display).static ChronoElement<Integer>AnnualDate.DAY_OF_MONTHElement with the day of month in the value range1-28/29/30/31.static ProportionalElement<Integer,PlainDate>PlainDate.DAY_OF_MONTHElement with the day of month in the value range1-28/29/30/31.static NavigableElement<Weekday>PlainDate.DAY_OF_WEEKElement with the day of week in the value rangeMONDAY-SUNDAY.static ProportionalElement<Integer,PlainDate>PlainDate.DAY_OF_YEARElement with the day of year in the value range1-365/366).static ProportionalElement<Integer,PlainTime>PlainTime.DIGITAL_HOUR_OF_AMPMElement with the digital hour of half day in the value range0-11.static ProportionalElement<Integer,PlainTime>PlainTime.DIGITAL_HOUR_OF_DAYElement with the digital hour in the value range0-23.static ProportionalElement<Integer,PlainTime>PlainTime.MILLI_OF_DAYElement with the day time in milliseconds in the value range0-86400000.static ProportionalElement<Integer,PlainTime>PlainTime.MINUTE_OF_HOURElement with the minute of hour in the value range0-59.static ProportionalElement<Integer,PlainDate>PlainDate.MONTH_AS_NUMBERElement with the calendar month in numerical form and the value range1-12.static ChronoElement<Month>AnnualDate.MONTH_OF_YEARElement with the calendar month as enum in the value rangeJANUARY-DECEMBER).static NavigableElement<Month>PlainDate.MONTH_OF_YEARElement with the calendar month as enum in the value rangeJANUARY-DECEMBER).static ProportionalElement<Integer,PlainTime>PlainTime.NANO_OF_SECONDElement with the nanosecond in the value range0-999999999.static NavigableElement<Quarter>PlainDate.QUARTER_OF_YEARElement with the quarter of year in the value rangeQ1-Q4.static ProportionalElement<Integer,PlainTime>PlainTime.SECOND_OF_MINUTEElement with the second of minute in the value range0-59.static OrdinalWeekdayElementPlainDate.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month in the value range1-5.static AdjustableElement<Integer,PlainDate>PlainDate.YEARElement with the proleptic iso-year without any era reference and the value range-999999999until999999999.static AdjustableElement<Integer,PlainDate>PlainDate.YEAR_OF_WEEKDATEDefines an element for the week-based year in an ISO-8601-weekdate.Methods in net.time4j with annotations of type FormattableElementModifier 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
Fields in net.time4j.calendar with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic ChronoElement<Meridiem>EthiopianTime.AM_PM_OF_DAYBehaves likePlainTime.AM_PM_OF_DAY.static StdCalendarElement<Integer,HebrewTime>HebrewTime.CLOCK_HOURThe Hebrew hour with the biblical value range 1-12 which is coupled to the sun cycle.static StdCalendarElement<Integer,ChineseCalendar>ChineseCalendar.DAY_OF_MONTHRepresents the Chinese day of month.static StdCalendarElement<Integer,CopticCalendar>CopticCalendar.DAY_OF_MONTHRepresents the Coptic day of month.static StdCalendarElement<Integer,EthiopianCalendar>EthiopianCalendar.DAY_OF_MONTHRepresents the Ethiopian day of month.static StdCalendarElement<Integer,HebrewCalendar>HebrewCalendar.DAY_OF_MONTHRepresents the Hebrew day of month.static StdCalendarElement<Integer,HijriCalendar>HijriCalendar.DAY_OF_MONTHRepresents the islamic day of month.static StdCalendarElement<Integer,HistoricCalendar>HistoricCalendar.DAY_OF_MONTHRepresents the historic day of month.static StdCalendarElement<Integer,IndianCalendar>IndianCalendar.DAY_OF_MONTHRepresents the Indian day of month.static StdCalendarElement<Integer,JapaneseCalendar>JapaneseCalendar.DAY_OF_MONTHRepresents the Japanese day of month.static StdCalendarElement<Integer,JucheCalendar>JucheCalendar.DAY_OF_MONTHRepresents the day of month.static ChronoElement<Integer>JulianCalendar.DAY_OF_MONTHRepresents the Julian day of month.static StdCalendarElement<Integer,KoreanCalendar>KoreanCalendar.DAY_OF_MONTHRepresents the Korean day of month.static StdCalendarElement<Integer,MinguoCalendar>MinguoCalendar.DAY_OF_MONTHRepresents the day of month.static StdCalendarElement<Integer,PersianCalendar>PersianCalendar.DAY_OF_MONTHRepresents the Persian day of month.static StdCalendarElement<Integer,ThaiSolarCalendar>ThaiSolarCalendar.DAY_OF_MONTHRepresents the day of month.static StdCalendarElement<Integer,VietnameseCalendar>VietnameseCalendar.DAY_OF_MONTHRepresents the Vietnamese day of month.static StdCalendarElement<Weekday,ChineseCalendar>ChineseCalendar.DAY_OF_WEEKRepresents the Chinese day of week.static StdCalendarElement<Weekday,CopticCalendar>CopticCalendar.DAY_OF_WEEKRepresents the Coptic day of week.static StdCalendarElement<Weekday,EthiopianCalendar>EthiopianCalendar.DAY_OF_WEEKRepresents the Ethiopian day of week.static StdCalendarElement<Weekday,HebrewCalendar>HebrewCalendar.DAY_OF_WEEKRepresents the Hebrew day of week.static StdCalendarElement<Weekday,HijriCalendar>HijriCalendar.DAY_OF_WEEKRepresents the islamic day of week.static StdCalendarElement<Weekday,HistoricCalendar>HistoricCalendar.DAY_OF_WEEKRepresents the historic day of week.static StdCalendarElement<Weekday,IndianCalendar>IndianCalendar.DAY_OF_WEEKRepresents the Indian day of week.static StdCalendarElement<Weekday,JapaneseCalendar>JapaneseCalendar.DAY_OF_WEEKRepresents the Japanese day of week.static StdCalendarElement<Weekday,JucheCalendar>JucheCalendar.DAY_OF_WEEKRepresents the day of week.static ChronoElement<Weekday>JulianCalendar.DAY_OF_WEEKRepresents the Julian day of week.static StdCalendarElement<Weekday,KoreanCalendar>KoreanCalendar.DAY_OF_WEEKRepresents the Korean day of week.static StdCalendarElement<Weekday,MinguoCalendar>MinguoCalendar.DAY_OF_WEEKRepresents the day of week.static StdCalendarElement<Weekday,PersianCalendar>PersianCalendar.DAY_OF_WEEKRepresents the Persian day of week.static StdCalendarElement<Weekday,ThaiSolarCalendar>ThaiSolarCalendar.DAY_OF_WEEKRepresents the day of week.static StdCalendarElement<Weekday,VietnameseCalendar>VietnameseCalendar.DAY_OF_WEEKRepresents the Vietnamese day of week.static StdCalendarElement<Integer,ChineseCalendar>ChineseCalendar.DAY_OF_YEARRepresents the Chinese day of year.static StdCalendarElement<Integer,CopticCalendar>CopticCalendar.DAY_OF_YEARRepresents the Coptic day of year.static StdCalendarElement<Integer,EthiopianCalendar>EthiopianCalendar.DAY_OF_YEARRepresents the Ethiopian day of year.static StdCalendarElement<Integer,HebrewCalendar>HebrewCalendar.DAY_OF_YEARRepresents the Hebrew day of year.static StdCalendarElement<Integer,HijriCalendar>HijriCalendar.DAY_OF_YEARRepresents the islamic day of year.static StdCalendarElement<Integer,HistoricCalendar>HistoricCalendar.DAY_OF_YEARRepresents the historic day of year.static StdCalendarElement<Integer,IndianCalendar>IndianCalendar.DAY_OF_YEARRepresents the Indian day of year.static StdCalendarElement<Integer,JapaneseCalendar>JapaneseCalendar.DAY_OF_YEARRepresents the Japanese day of year.static StdCalendarElement<Integer,JucheCalendar>JucheCalendar.DAY_OF_YEARRepresents the day of year.static ChronoElement<Integer>JulianCalendar.DAY_OF_YEARRepresents the Julian day of year.static StdCalendarElement<Integer,KoreanCalendar>KoreanCalendar.DAY_OF_YEARRepresents the Korean day of year.static StdCalendarElement<Integer,MinguoCalendar>MinguoCalendar.DAY_OF_YEARRepresents the day of year.static StdCalendarElement<Integer,PersianCalendar>PersianCalendar.DAY_OF_YEARRepresents the Persian day of year.static StdCalendarElement<Integer,ThaiSolarCalendar>ThaiSolarCalendar.DAY_OF_YEARRepresents the day of year.static StdCalendarElement<Integer,VietnameseCalendar>VietnameseCalendar.DAY_OF_YEARRepresents the Vietnamese day of year.static StdCalendarElement<Integer,HebrewTime>HebrewTime.DIGITAL_HOURThe Hebrew hour with the digital value range 0-23 which is coupled to the sun cycle.static ChronoElement<Integer>EthiopianTime.DIGITAL_HOUR_OF_DAYBehaves likePlainTime.DIGITAL_HOUR_OF_DAYwith the hour range 0-23.static ChronoElement<ChineseEra>ChineseCalendar.ERARepresents the Chinese era.static ChronoElement<CopticEra>CopticCalendar.ERARepresents the Coptic era.static ChronoElement<EthiopianEra>EthiopianCalendar.ERARepresents the Ethiopian era.static ChronoElement<HebrewEra>HebrewCalendar.ERARepresents the Hebrew era.static ChronoElement<HijriEra>HijriCalendar.ERARepresents the islamic era.static ChronoElement<HistoricEra>HistoricCalendar.ERARepresents the historic era.static ChronoElement<IndianEra>IndianCalendar.ERARepresents the Indian era.static TextElement<Nengo>JapaneseCalendar.ERARepresents the Japanese era (nengo).static ChronoElement<JucheEra>JucheCalendar.ERARepresents the Juche era which cannot be changed.static ChronoElement<HistoricEra>JulianCalendar.ERARepresents the Julian era.static ChronoElement<KoreanEra>KoreanCalendar.ERARepresents the Korean era.static ChronoElement<MinguoEra>MinguoCalendar.ERARepresents the Minguo era which cannot be changed.static ChronoElement<PersianEra>PersianCalendar.ERARepresents the Persian era.static ChronoElement<ThaiSolarEra>ThaiSolarCalendar.ERARepresents the Thai era.static ChronoElement<Integer>EthiopianTime.ETHIOPIAN_HOURThe Ethiopian hour with the range 1-12 which is 6 hours behind the western clock.static ChronoElement<Integer>EthiopianTime.MINUTE_OF_HOURThe minute of hour with the range 0-59.static TextElement<EastAsianMonth>ChineseCalendar.MONTH_OF_YEARRepresents the Chinese month.static StdCalendarElement<CopticMonth,CopticCalendar>CopticCalendar.MONTH_OF_YEARRepresents the Coptic month.EthiopianCalendar.MONTH_OF_YEARRepresents the Ethiopian month.static StdCalendarElement<HebrewMonth,HebrewCalendar>HebrewCalendar.MONTH_OF_YEARRepresents the Hebrew month.static StdCalendarElement<HijriMonth,HijriCalendar>HijriCalendar.MONTH_OF_YEARRepresents the islamic month.static StdCalendarElement<Month,HistoricCalendar>HistoricCalendar.MONTH_OF_YEARRepresents the historic month.static StdCalendarElement<IndianMonth,IndianCalendar>IndianCalendar.MONTH_OF_YEARRepresents the Indian month.static TextElement<EastAsianMonth>JapaneseCalendar.MONTH_OF_YEARRepresents the Japanese month.static StdCalendarElement<Month,JucheCalendar>JucheCalendar.MONTH_OF_YEARRepresents the month.static TextElement<Integer>JulianCalendar.MONTH_OF_YEARRepresents the Julian month.static TextElement<EastAsianMonth>KoreanCalendar.MONTH_OF_YEARRepresents the Korean month.static StdCalendarElement<Month,MinguoCalendar>MinguoCalendar.MONTH_OF_YEARRepresents the month.PersianCalendar.MONTH_OF_YEARRepresents the Persian month.static StdCalendarElement<Month,ThaiSolarCalendar>ThaiSolarCalendar.MONTH_OF_YEARRepresents the month.static TextElement<EastAsianMonth>VietnameseCalendar.MONTH_OF_YEARRepresents the Vietnamese month.static StdCalendarElement<Integer,HebrewTime>HebrewTime.PART_OF_HOURMarks the part of hour (helek) with the value range 0-1079.static ChronoElement<Integer>CommonElements.RELATED_GREGORIAN_YEARRepresents the related gregorian year which corresponds to the start of any given non-gregorian calendar year.static TextElement<Integer>HistoricCalendar.RELATED_STANDARD_YEARRepresents the related standard year within current era which starts on first of January.static ChronoElement<Integer>EthiopianTime.SECOND_OF_MINUTEThe second of minute with the range 0-59.static OrdinalWeekdayElement<ChineseCalendar>ChineseCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<CopticCalendar>CopticCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.EthiopianCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<HebrewCalendar>HebrewCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<HijriCalendar>HijriCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.HistoricCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<IndianCalendar>IndianCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.JapaneseCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<JucheCalendar>JucheCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<JulianCalendar>JulianCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<KoreanCalendar>KoreanCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<MinguoCalendar>MinguoCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static OrdinalWeekdayElement<PersianCalendar>PersianCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.ThaiSolarCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.VietnameseCalendar.WEEKDAY_IN_MONTHElement with the ordinal day-of-week within given calendar month.static TextElement<CyclicYear>ChineseCalendar.YEAR_OF_CYCLERepresents the Chinese year related to the current sexagesimal cycle.static TextElement<CyclicYear>KoreanCalendar.YEAR_OF_CYCLERepresents the Korean year related to the current sexagesimal cycle.static TextElement<CyclicYear>VietnameseCalendar.YEAR_OF_CYCLERepresents the Vietnamese year related to the current sexagesimal cycle.static StdCalendarElement<Integer,ChineseCalendar>ChineseCalendar.YEAR_OF_ERARepresents the Chinese year related to the Chinese era.static StdCalendarElement<Integer,CopticCalendar>CopticCalendar.YEAR_OF_ERARepresents the Coptic year.static StdCalendarElement<Integer,EthiopianCalendar>EthiopianCalendar.YEAR_OF_ERARepresents the Ethiopian year.static StdCalendarElement<Integer,HebrewCalendar>HebrewCalendar.YEAR_OF_ERARepresents the Hebrew year.static StdCalendarElement<Integer,HijriCalendar>HijriCalendar.YEAR_OF_ERARepresents the islamic year.static StdCalendarElement<Integer,IndianCalendar>IndianCalendar.YEAR_OF_ERARepresents the Indian year.static StdCalendarElement<Integer,JapaneseCalendar>JapaneseCalendar.YEAR_OF_ERARepresents the Japanese year associated with a nengo.static StdCalendarElement<Integer,JucheCalendar>JucheCalendar.YEAR_OF_ERARepresents the Juche year.static ChronoElement<Integer>JulianCalendar.YEAR_OF_ERARepresents the Julian year.static ChronoElement<Integer>KoreanCalendar.YEAR_OF_ERARepresents the Korean year related to the Korean era.static StdCalendarElement<Integer,MinguoCalendar>MinguoCalendar.YEAR_OF_ERARepresents the Minguo year.static StdCalendarElement<Integer,PersianCalendar>PersianCalendar.YEAR_OF_ERARepresents the Persian year.static StdCalendarElement<Integer,ThaiSolarCalendar>ThaiSolarCalendar.YEAR_OF_ERARepresents the Thai year, usually in buddhist counting.Methods in net.time4j.calendar with annotations of type FormattableElementModifier 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
Fields in net.time4j.calendar.bahai with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic ChronoElement<BadiIntercalaryDays>BadiCalendar.AYYAM_I_HARepresents the period of intercalary days if available.static StdCalendarElement<Integer,BadiCalendar>BadiCalendar.DAY_OF_DIVISIONRepresents the day of month or an intercalary day.static StdCalendarElement<Weekday,BadiCalendar>BadiCalendar.DAY_OF_WEEKRepresents the day of week.static ChronoElement<BadiEra>BadiCalendar.ERARepresents the Bahai era.static ChronoElement<Integer>BadiCalendar.KULL_I_SHAIRepresents the major cycle (kull-i-shai).static StdCalendarElement<BadiMonth,BadiCalendar>BadiCalendar.MONTH_OF_YEARRepresents the month if available.static StdCalendarElement<Integer,BadiCalendar>BadiCalendar.VAHIDRepresents the vahid cycle which consists of 19 years.static StdCalendarElement<Integer,BadiCalendar>BadiCalendar.YEAR_OF_ERARepresents the proleptic year of era (relative to gregorian year 1844).static TextElement<Integer>BadiCalendar.YEAR_OF_VAHIDRepresents the year of vahid cycle. -
Uses of FormattableElement in net.time4j.calendar.frenchrev
Fields in net.time4j.calendar.frenchrev with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic ChronoElement<DayOfDecade>FrenchRepublicanCalendar.DAY_OF_DECADERepresents the days of decade which consists of ten days.FrenchRepublicanCalendar.DAY_OF_MONTHRepresents the day of month if available.FrenchRepublicanCalendar.DAY_OF_WEEKRepresents the day of week where the week is seven days long.static ChronoElement<FrenchRepublicanEra>FrenchRepublicanCalendar.ERARepresents the Republican era of the French revolution.FrenchRepublicanCalendar.MONTH_OF_YEARRepresents the month (Vendémiaire - Fructidor) if available.static ChronoElement<Sansculottides>FrenchRepublicanCalendar.SANSCULOTTIDESRepresents the complementary days of the French revolutionary calendar.FrenchRepublicanCalendar.YEAR_OF_ERARepresents the republican year since 1792-09-22 (in range 1-1202). -
Uses of FormattableElement in net.time4j.calendar.hindu
Fields in net.time4j.calendar.hindu with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic AdjustableTextElement<HinduDay>HinduCalendar.DAY_OF_MONTHRepresents the Hindu day of month.static StdCalendarElement<Weekday,HinduCalendar>HinduCalendar.DAY_OF_WEEKRepresents the Hindu day of week.static StdCalendarElement<Integer,HinduCalendar>HinduCalendar.DAY_OF_YEARRepresents the Hindu day of year.static ChronoElement<HinduEra>HinduCalendar.ERARepresents the Hindu era.static AdjustableTextElement<HinduMonth>HinduCalendar.MONTH_OF_YEARRepresents the Hindu month.static StdCalendarElement<Integer,HinduCalendar>HinduCalendar.YEAR_OF_ERARepresents the Hindu year. -
Uses of FormattableElement in net.time4j.history
Methods in net.time4j.history with annotations of type FormattableElementModifier 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
Fields in net.time4j.range with annotations of type FormattableElementModifier and TypeFieldDescriptionstatic ChronoElement<Weekday>SpanOfWeekdays.ENDDenotes the end of this span of weekdays (inclusive).static ChronoElement<Month>CalendarMonth.MONTH_OF_YEARElement with the month of year in the value rangeJanuary - December.static ChronoElement<Quarter>CalendarQuarter.QUARTER_OF_YEARElement with the quarter of year in the value rangeQ1-Q4.static ChronoElement<Weekday>SpanOfWeekdays.STARTDenotes the start of this span of weekdays.static ChronoElement<Integer>CalendarWeek.WEEK_OF_YEARElement with the week of year in the value range1-52/53.static ChronoElement<Integer>CalendarMonth.YEARElement with the proleptic iso-year without any era reference and the value range-999999999until999999999.static ChronoElement<Integer>CalendarQuarter.YEARElement with the proleptic iso-year without any era reference and the value range-999999999until999999999.static ChronoElement<Integer>CalendarYear.YEARElement with the proleptic iso-year without any era reference and the value range-999999999until999999999.static ChronoElement<Integer>CalendarWeek.YEAR_OF_WEEKDATEDefines an element for the week-based year in an ISO-8601-weekdate.