Package com.google.gwt.i18n.client
Class DateTimeFormatInfoAdapter
java.lang.Object
com.google.gwt.i18n.shared.DefaultDateTimeFormatInfo
com.google.gwt.i18n.client.DefaultDateTimeFormatInfo
com.google.gwt.i18n.client.DateTimeFormatInfoAdapter
- All Implemented Interfaces:
DateTimeFormatInfo,DateTimeFormatInfo
Adapter that makes a
DateTimeConstants implementation suitable for
use with something that wants a
DateTimeFormatInfo. Values not present
in DateTimeConstants receive default values.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]ampms()Returns array of strings containing abbreviations for Ante Meridiem and Post Meridiem.Returns a "full" date format.Returns a "long" date format.Returns a "medium" date format.Returns a "short" date format.String[]erasFull()Returns an array of the full era names.String[]Returns abbreviations of the era names.intReturns the day which generally comes first in a weekly calendar view, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().String[]Returns an array of full month names.String[]Returns an array of month names for use in a stand-alone context.String[]Returns an array of the shortest abbreviations for months, typically a single character and not guaranteed to be unique.String[]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.String[]Returns an array of month abbreviations.String[]Returns an array of month abbreviations, suitable for use in a stand-alone context.String[]Returns an array of full quarter names.String[]Returns an array of abbreviations for quarters.Returns a "full" time format.Returns a "long" time format.Returns a "medium" time format.Returns a "short" time format.String[]Returns an array of the full names of weekdays.String[]Returns an array of the full names of weekdays, suitable for use in a stand-alone context.String[]Returns an array of the shortest abbreviations for weekdays, typically a single character and not guaranteed to be unique.String[]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.String[]Returns an array of abbreviations for weekdays.String[]Returns an array of abbreviations for weekdays, suitable for use in a stand-alone context.intReturns the day which ends the weekend, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().intReturns the day which starts the weekend, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().Methods inherited from class com.google.gwt.i18n.shared.DefaultDateTimeFormatInfo
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, timeFormatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gwt.i18n.shared.DateTimeFormatInfo
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, timeFormat
-
Constructor Details
-
DateTimeFormatInfoAdapter
-
-
Method Details
-
ampms
Description copied from interface:DateTimeFormatInfoReturns array of strings containing abbreviations for Ante Meridiem and Post Meridiem.- Specified by:
ampmsin interfaceDateTimeFormatInfo- Overrides:
ampmsin classDefaultDateTimeFormatInfo
-
dateFormatFull
Description copied from interface:DateTimeFormatInfoReturns a "full" date format.- Specified by:
dateFormatFullin interfaceDateTimeFormatInfo- Overrides:
dateFormatFullin classDefaultDateTimeFormatInfo
-
dateFormatLong
Description copied from interface:DateTimeFormatInfoReturns a "long" date format.- Specified by:
dateFormatLongin interfaceDateTimeFormatInfo- Overrides:
dateFormatLongin classDefaultDateTimeFormatInfo
-
dateFormatMedium
Description copied from interface:DateTimeFormatInfoReturns a "medium" date format.- Specified by:
dateFormatMediumin interfaceDateTimeFormatInfo- Overrides:
dateFormatMediumin classDefaultDateTimeFormatInfo
-
dateFormatShort
Description copied from interface:DateTimeFormatInfoReturns a "short" date format.- Specified by:
dateFormatShortin interfaceDateTimeFormatInfo- Overrides:
dateFormatShortin classDefaultDateTimeFormatInfo
-
erasFull
Description copied from interface:DateTimeFormatInfoReturns an array of the full era names.- Specified by:
erasFullin interfaceDateTimeFormatInfo- Overrides:
erasFullin classDefaultDateTimeFormatInfo
-
erasShort
Description copied from interface:DateTimeFormatInfoReturns abbreviations of the era names.- Specified by:
erasShortin interfaceDateTimeFormatInfo- Overrides:
erasShortin classDefaultDateTimeFormatInfo
-
firstDayOfTheWeek
public int firstDayOfTheWeek()Description copied from interface:DateTimeFormatInfoReturns the day which generally comes first in a weekly calendar view, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().- Specified by:
firstDayOfTheWeekin interfaceDateTimeFormatInfo- Overrides:
firstDayOfTheWeekin classDefaultDateTimeFormatInfo
-
monthsFull
Description copied from interface:DateTimeFormatInfoReturns an array of full month names.- Specified by:
monthsFullin interfaceDateTimeFormatInfo- Overrides:
monthsFullin classDefaultDateTimeFormatInfo
-
monthsFullStandalone
Description copied from interface:DateTimeFormatInfoReturns an array of month names for use in a stand-alone context.- Specified by:
monthsFullStandalonein interfaceDateTimeFormatInfo- Overrides:
monthsFullStandalonein classDefaultDateTimeFormatInfo
-
monthsNarrow
Description copied from interface:DateTimeFormatInfoReturns an array of the shortest abbreviations for months, typically a single character and not guaranteed to be unique.- Specified by:
monthsNarrowin interfaceDateTimeFormatInfo- Overrides:
monthsNarrowin classDefaultDateTimeFormatInfo
-
monthsNarrowStandalone
Description copied from interface:DateTimeFormatInfoReturns 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.- Specified by:
monthsNarrowStandalonein interfaceDateTimeFormatInfo- Overrides:
monthsNarrowStandalonein classDefaultDateTimeFormatInfo
-
monthsShort
Description copied from interface:DateTimeFormatInfoReturns an array of month abbreviations.- Specified by:
monthsShortin interfaceDateTimeFormatInfo- Overrides:
monthsShortin classDefaultDateTimeFormatInfo
-
monthsShortStandalone
Description copied from interface:DateTimeFormatInfoReturns an array of month abbreviations, suitable for use in a stand-alone context.- Specified by:
monthsShortStandalonein interfaceDateTimeFormatInfo- Overrides:
monthsShortStandalonein classDefaultDateTimeFormatInfo
-
quartersFull
Description copied from interface:DateTimeFormatInfoReturns an array of full quarter names.- Specified by:
quartersFullin interfaceDateTimeFormatInfo- Overrides:
quartersFullin classDefaultDateTimeFormatInfo
-
quartersShort
Description copied from interface:DateTimeFormatInfoReturns an array of abbreviations for quarters.- Specified by:
quartersShortin interfaceDateTimeFormatInfo- Overrides:
quartersShortin classDefaultDateTimeFormatInfo
-
timeFormatFull
Description copied from interface:DateTimeFormatInfoReturns a "full" time format.- Specified by:
timeFormatFullin interfaceDateTimeFormatInfo- Overrides:
timeFormatFullin classDefaultDateTimeFormatInfo
-
timeFormatLong
Description copied from interface:DateTimeFormatInfoReturns a "long" time format.- Specified by:
timeFormatLongin interfaceDateTimeFormatInfo- Overrides:
timeFormatLongin classDefaultDateTimeFormatInfo
-
timeFormatMedium
Description copied from interface:DateTimeFormatInfoReturns a "medium" time format.- Specified by:
timeFormatMediumin interfaceDateTimeFormatInfo- Overrides:
timeFormatMediumin classDefaultDateTimeFormatInfo
-
timeFormatShort
Description copied from interface:DateTimeFormatInfoReturns a "short" time format.- Specified by:
timeFormatShortin interfaceDateTimeFormatInfo- Overrides:
timeFormatShortin classDefaultDateTimeFormatInfo
-
weekdaysFull
Description copied from interface:DateTimeFormatInfoReturns an array of the full names of weekdays.- Specified by:
weekdaysFullin interfaceDateTimeFormatInfo- Overrides:
weekdaysFullin classDefaultDateTimeFormatInfo
-
weekdaysFullStandalone
Description copied from interface:DateTimeFormatInfoReturns an array of the full names of weekdays, suitable for use in a stand-alone context.- Specified by:
weekdaysFullStandalonein interfaceDateTimeFormatInfo- Overrides:
weekdaysFullStandalonein classDefaultDateTimeFormatInfo
-
weekdaysNarrow
Description copied from interface:DateTimeFormatInfoReturns an array of the shortest abbreviations for weekdays, typically a single character and not guaranteed to be unique.- Specified by:
weekdaysNarrowin interfaceDateTimeFormatInfo- Overrides:
weekdaysNarrowin classDefaultDateTimeFormatInfo
-
weekdaysNarrowStandalone
Description copied from interface:DateTimeFormatInfoReturns 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.- Specified by:
weekdaysNarrowStandalonein interfaceDateTimeFormatInfo- Overrides:
weekdaysNarrowStandalonein classDefaultDateTimeFormatInfo
-
weekdaysShort
Description copied from interface:DateTimeFormatInfoReturns an array of abbreviations for weekdays.- Specified by:
weekdaysShortin interfaceDateTimeFormatInfo- Overrides:
weekdaysShortin classDefaultDateTimeFormatInfo
-
weekdaysShortStandalone
Description copied from interface:DateTimeFormatInfoReturns an array of abbreviations for weekdays, suitable for use in a stand-alone context.- Specified by:
weekdaysShortStandalonein interfaceDateTimeFormatInfo- Overrides:
weekdaysShortStandalonein classDefaultDateTimeFormatInfo
-
weekendEnd
public int weekendEnd()Description copied from interface:DateTimeFormatInfoReturns the day which ends the weekend, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().Note that this value may be numerically less than
DateTimeFormatInfo.weekendStart()- for example,DateTimeFormatInfo.weekendStart()of 6 andDateTimeFormatInfo.weekendEnd()of 0 means Saturday and Sunday are the weekend.- Specified by:
weekendEndin interfaceDateTimeFormatInfo- Overrides:
weekendEndin classDefaultDateTimeFormatInfo
-
weekendStart
public int weekendStart()Description copied from interface:DateTimeFormatInfoReturns the day which starts the weekend, as an index into the return value ofDateTimeFormatInfo.weekdaysFull().- Specified by:
weekendStartin interfaceDateTimeFormatInfo- Overrides:
weekendStartin classDefaultDateTimeFormatInfo
-