class DateTimeFormatInfoAdapter extends DefaultDateTimeFormatInfo
DateTimeConstants implementation suitable for
use with something that wants a
DateTimeFormatInfo. Values not present
in DateTimeConstants receive default values.| Constructor and Description |
|---|
DateTimeFormatInfoAdapter(DateTimeConstants dtc) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
ampms()
Returns array of strings containing abbreviations for Ante Meridiem and
Post Meridiem.
|
java.lang.String |
dateFormatFull()
Returns a "full" date format.
|
java.lang.String |
dateFormatLong()
Returns a "long" date format.
|
java.lang.String |
dateFormatMedium()
Returns a "medium" date format.
|
java.lang.String |
dateFormatShort()
Returns a "short" date format.
|
java.lang.String[] |
erasFull()
Returns an array of the full era names.
|
java.lang.String[] |
erasShort()
Returns abbreviations of the era names.
|
int |
firstDayOfTheWeek()
Returns the day which generally comes first in a weekly calendar view, as
an index into the return value of
DateTimeFormatInfo.weekdaysFull(). |
java.lang.String[] |
monthsFull()
Returns an array of full month names.
|
java.lang.String[] |
monthsFullStandalone()
Returns an array of month names for use in a stand-alone context.
|
java.lang.String[] |
monthsNarrow()
Returns an array of the shortest abbreviations for months, typically a
single character and not guaranteed to be unique.
|
java.lang.String[] |
monthsNarrowStandalone()
Returns an array of the shortest abbreviations for months suitable for use
in a stand-alone context, typically a single character and not guaranteed
to be unique.
|
java.lang.String[] |
monthsShort()
Returns an array of month abbreviations.
|
java.lang.String[] |
monthsShortStandalone()
Returns an array of month abbreviations, suitable for use in a stand-alone
context.
|
java.lang.String[] |
quartersFull()
Returns an array of full quarter names.
|
java.lang.String[] |
quartersShort()
Returns an array of abbreviations for quarters.
|
java.lang.String |
timeFormatFull()
Returns a "full" time format.
|
java.lang.String |
timeFormatLong()
Returns a "long" time format.
|
java.lang.String |
timeFormatMedium()
Returns a "medium" time format.
|
java.lang.String |
timeFormatShort()
Returns a "short" time format.
|
java.lang.String[] |
weekdaysFull()
Returns an array of the full names of weekdays.
|
java.lang.String[] |
weekdaysFullStandalone()
Returns an array of the full names of weekdays, suitable for use in a
stand-alone context.
|
java.lang.String[] |
weekdaysNarrow()
Returns an array of the shortest abbreviations for weekdays, typically a
single character and not guaranteed to be unique.
|
java.lang.String[] |
weekdaysNarrowStandalone()
Returns an array of the shortest abbreviations for weekdays suitable for
use in a stand-alone context, typically a single character and not
guaranteed to be unique.
|
java.lang.String[] |
weekdaysShort()
Returns an array of abbreviations for weekdays.
|
java.lang.String[] |
weekdaysShortStandalone()
Returns an array of abbreviations for weekdays, suitable for use in a
stand-alone context.
|
int |
weekendEnd()
Returns the day which ends the weekend, as an index into the return value
of
DateTimeFormatInfo.weekdaysFull(). |
int |
weekendStart()
Returns the day which starts the weekend, as an index into the return value
of
DateTimeFormatInfo.weekdaysFull(). |
dateFormat, dateTime, dateTimeFull, dateTimeLong, dateTimeMedium, dateTimeShort, formatDay, formatHour12Minute, formatHour12MinuteSecond, formatHour24Minute, formatHour24MinuteSecond, formatMinuteSecond, formatMonthAbbrev, formatMonthAbbrevDay, formatMonthFull, formatMonthFullDay, formatMonthFullWeekdayDay, formatMonthNumDay, formatYear, formatYearMonthAbbrev, formatYearMonthAbbrevDay, formatYearMonthFull, formatYearMonthFullDay, formatYearMonthNum, formatYearMonthNumDay, formatYearMonthWeekdayDay, formatYearQuarterFull, formatYearQuarterShort, timeFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdateFormat, dateTime, dateTimeFull, dateTimeLong, dateTimeMedium, dateTimeShort, formatDay, formatHour12Minute, formatHour12MinuteSecond, formatHour24Minute, formatHour24MinuteSecond, formatMinuteSecond, formatMonthAbbrev, formatMonthAbbrevDay, formatMonthFull, formatMonthFullDay, formatMonthFullWeekdayDay, formatMonthNumDay, formatYear, formatYearMonthAbbrev, formatYearMonthAbbrevDay, formatYearMonthFull, formatYearMonthFullDay, formatYearMonthNum, formatYearMonthNumDay, formatYearMonthWeekdayDay, formatYearQuarterFull, formatYearQuarterShort, timeFormatpublic DateTimeFormatInfoAdapter(DateTimeConstants dtc)
public java.lang.String[] ampms()
DateTimeFormatInfoampms in interface DateTimeFormatInfoampms in class DefaultDateTimeFormatInfopublic java.lang.String dateFormatFull()
DateTimeFormatInfodateFormatFull in interface DateTimeFormatInfodateFormatFull in class DefaultDateTimeFormatInfopublic java.lang.String dateFormatLong()
DateTimeFormatInfodateFormatLong in interface DateTimeFormatInfodateFormatLong in class DefaultDateTimeFormatInfopublic java.lang.String dateFormatMedium()
DateTimeFormatInfodateFormatMedium in interface DateTimeFormatInfodateFormatMedium in class DefaultDateTimeFormatInfopublic java.lang.String dateFormatShort()
DateTimeFormatInfodateFormatShort in interface DateTimeFormatInfodateFormatShort in class DefaultDateTimeFormatInfopublic java.lang.String[] erasFull()
DateTimeFormatInfoerasFull in interface DateTimeFormatInfoerasFull in class DefaultDateTimeFormatInfopublic java.lang.String[] erasShort()
DateTimeFormatInfoerasShort in interface DateTimeFormatInfoerasShort in class DefaultDateTimeFormatInfopublic int firstDayOfTheWeek()
DateTimeFormatInfoDateTimeFormatInfo.weekdaysFull().firstDayOfTheWeek in interface DateTimeFormatInfofirstDayOfTheWeek in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsFull()
DateTimeFormatInfomonthsFull in interface DateTimeFormatInfomonthsFull in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsFullStandalone()
DateTimeFormatInfomonthsFullStandalone in interface DateTimeFormatInfomonthsFullStandalone in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsNarrow()
DateTimeFormatInfomonthsNarrow in interface DateTimeFormatInfomonthsNarrow in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsNarrowStandalone()
DateTimeFormatInfomonthsNarrowStandalone in interface DateTimeFormatInfomonthsNarrowStandalone in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsShort()
DateTimeFormatInfomonthsShort in interface DateTimeFormatInfomonthsShort in class DefaultDateTimeFormatInfopublic java.lang.String[] monthsShortStandalone()
DateTimeFormatInfomonthsShortStandalone in interface DateTimeFormatInfomonthsShortStandalone in class DefaultDateTimeFormatInfopublic java.lang.String[] quartersFull()
DateTimeFormatInfoquartersFull in interface DateTimeFormatInfoquartersFull in class DefaultDateTimeFormatInfopublic java.lang.String[] quartersShort()
DateTimeFormatInfoquartersShort in interface DateTimeFormatInfoquartersShort in class DefaultDateTimeFormatInfopublic java.lang.String timeFormatFull()
DateTimeFormatInfotimeFormatFull in interface DateTimeFormatInfotimeFormatFull in class DefaultDateTimeFormatInfopublic java.lang.String timeFormatLong()
DateTimeFormatInfotimeFormatLong in interface DateTimeFormatInfotimeFormatLong in class DefaultDateTimeFormatInfopublic java.lang.String timeFormatMedium()
DateTimeFormatInfotimeFormatMedium in interface DateTimeFormatInfotimeFormatMedium in class DefaultDateTimeFormatInfopublic java.lang.String timeFormatShort()
DateTimeFormatInfotimeFormatShort in interface DateTimeFormatInfotimeFormatShort in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysFull()
DateTimeFormatInfoweekdaysFull in interface DateTimeFormatInfoweekdaysFull in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysFullStandalone()
DateTimeFormatInfoweekdaysFullStandalone in interface DateTimeFormatInfoweekdaysFullStandalone in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysNarrow()
DateTimeFormatInfoweekdaysNarrow in interface DateTimeFormatInfoweekdaysNarrow in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysNarrowStandalone()
DateTimeFormatInfoweekdaysNarrowStandalone in interface DateTimeFormatInfoweekdaysNarrowStandalone in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysShort()
DateTimeFormatInfoweekdaysShort in interface DateTimeFormatInfoweekdaysShort in class DefaultDateTimeFormatInfopublic java.lang.String[] weekdaysShortStandalone()
DateTimeFormatInfoweekdaysShortStandalone in interface DateTimeFormatInfoweekdaysShortStandalone in class DefaultDateTimeFormatInfopublic int weekendEnd()
DateTimeFormatInfoDateTimeFormatInfo.weekdaysFull().
Note that this value may be numerically less than
DateTimeFormatInfo.weekendStart() - for example, DateTimeFormatInfo.weekendStart() of 6 and
DateTimeFormatInfo.weekendEnd() of 0 means Saturday and Sunday are the weekend.
weekendEnd in interface DateTimeFormatInfoweekendEnd in class DefaultDateTimeFormatInfopublic int weekendStart()
DateTimeFormatInfoDateTimeFormatInfo.weekdaysFull().weekendStart in interface DateTimeFormatInfoweekendStart in class DefaultDateTimeFormatInfo