public final class DefaultDateTimeFormatOptions extends DefaultBaseFormatOptions implements IsDefaultDateTimeFormatOptions
| Modifier and Type | Field and Description |
|---|---|
static IsDefaultDateTimeFormatOptions |
INSTANCE
Immutable instance with the number format defaults.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getCalendar()
Returns the calendar to use.
|
DateTimeStyle |
getDateStyle()
Returns the date formatting style to use when calling
AbstractFormat.format(java.lang.Object). |
NumberItemStyle |
getDay()
Returns the representation of the Day.
|
StringItemStyle |
getDayPeriod()
Returns the way day periods should be expressed.
|
StringItemStyle |
getEra()
Returns the representation of the Era.
|
FormatMatcher |
getFormatMatcher()
Returns the format matching algorithm to use.
|
NumberItemStyle |
getHour()
Returns the representation of the Hour.
|
HourCycle |
getHourCycle()
Returns the hour cycle to use.
|
NumberItemStyle |
getMinute()
Returns the representation of the Minute.
|
MixedItemStyle |
getMonth()
Returns the representation of the Month.
|
NumberItemStyle |
getSecond()
Returns the representation of the Second.
|
DateTimeStyle |
getTimeStyle()
Returns the time formatting style to use when calling
AbstractFormat.format(java.lang.Object). |
TimeZone |
getTimeZone()
Returns the time zone to use.
|
TimeZoneName |
getTimeZoneName()
Returns the representation of the time zone name.
|
StringItemStyle |
getWeekDay()
Returns the representation of the WeekDay.
|
NumberItemStyle |
getYear()
Returns the representation of the Year.
|
boolean |
isHour12()
Returns whether to use 12-hour time (as opposed to 24-hour time).
|
getLocaleMatcher, getNumberingSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocaleMatcher, getNumberingSystempublic static final IsDefaultDateTimeFormatOptions INSTANCE
public DateTimeStyle getDateStyle()
IsDefaultDateTimeFormatOptionsAbstractFormat.format(java.lang.Object).getDateStyle in interface IsDefaultDateTimeFormatOptionspublic DateTimeStyle getTimeStyle()
IsDefaultDateTimeFormatOptionsAbstractFormat.format(java.lang.Object).getTimeStyle in interface IsDefaultDateTimeFormatOptionspublic Calendar getCalendar()
IsDefaultDateTimeFormatOptionsgetCalendar in interface IsDefaultDateTimeFormatOptionspublic StringItemStyle getDayPeriod()
IsDefaultDateTimeFormatOptionsgetDayPeriod in interface IsDefaultDateTimeFormatOptionspublic TimeZone getTimeZone()
IsDefaultDateTimeFormatOptionsgetTimeZone in interface IsDefaultDateTimeFormatOptionspublic boolean isHour12()
IsDefaultDateTimeFormatOptionsisHour12 in interface IsDefaultDateTimeFormatOptionspublic HourCycle getHourCycle()
IsDefaultDateTimeFormatOptionsgetHourCycle in interface IsDefaultDateTimeFormatOptionspublic FormatMatcher getFormatMatcher()
IsDefaultDateTimeFormatOptionsgetFormatMatcher in interface IsDefaultDateTimeFormatOptionspublic StringItemStyle getWeekDay()
IsDefaultDateTimeFormatOptionsgetWeekDay in interface IsDefaultDateTimeFormatOptionspublic StringItemStyle getEra()
IsDefaultDateTimeFormatOptionsgetEra in interface IsDefaultDateTimeFormatOptionspublic NumberItemStyle getYear()
IsDefaultDateTimeFormatOptionsgetYear in interface IsDefaultDateTimeFormatOptionspublic MixedItemStyle getMonth()
IsDefaultDateTimeFormatOptionsgetMonth in interface IsDefaultDateTimeFormatOptionspublic NumberItemStyle getDay()
IsDefaultDateTimeFormatOptionsgetDay in interface IsDefaultDateTimeFormatOptionspublic NumberItemStyle getHour()
IsDefaultDateTimeFormatOptionsgetHour in interface IsDefaultDateTimeFormatOptionspublic NumberItemStyle getMinute()
IsDefaultDateTimeFormatOptionsgetMinute in interface IsDefaultDateTimeFormatOptionspublic NumberItemStyle getSecond()
IsDefaultDateTimeFormatOptionsgetSecond in interface IsDefaultDateTimeFormatOptionspublic TimeZoneName getTimeZoneName()
IsDefaultDateTimeFormatOptionsgetTimeZoneName in interface IsDefaultDateTimeFormatOptions