dojo/date/locale.__FormatOptions (version 1.10)

Note: This is not a real constructor, but just a description of the type of object that should be passed as a parameter to some method(s), and/or the return value from some method(s). In other words, the type exists only for documentation purposes, and you cannot call new locale.__FormatOptions()

See the dojo/date/locale.__FormatOptions reference documentation for more information.

Property Summary

  • amoverride strings for am in times
  • datePatternoverride pattern with this string
  • formatLengthchoice of long, short, medium or full (plus any custom additions).
  • fullYear(format only) use 4 digit years whenever 2 digit years are called for
  • localeoverride the locale used to determine formatting rules
  • pmoverride strings for pm in times
  • selectorchoice of 'time','date' (default: date and time)
  • strict(parse only) strict parsing, off by default
  • timePatternoverride pattern with this string

Properties

am
Defined by: dojo/date/locale

override strings for am in times

datePattern
Defined by: dojo/date/locale

override pattern with this string

formatLength
Defined by: dojo/date/locale

choice of long, short, medium or full (plus any custom additions). Defaults to 'short'

fullYear
Defined by: dojo/date/locale

(format only) use 4 digit years whenever 2 digit years are called for

locale
Defined by: dojo/date/locale

override the locale used to determine formatting rules

pm
Defined by: dojo/date/locale

override strings for pm in times

selector
Defined by: dojo/date/locale

choice of 'time','date' (default: date and time)

strict
Defined by: dojo/date/locale

(parse only) strict parsing, off by default

timePattern
Defined by: dojo/date/locale

override pattern with this string

Error in the documentation? Can’t find what you are looking for? Let us know!