dojo/cldr/supplemental (version 1.10)

Summary

TODOC

See the dojo/cldr/supplemental reference documentation for more information.

Method Summary

  • _region(locale)
  • getFirstDayOfWeek(locale) Returns a zero-based index for first day of the week
  • getWeekend(locale) Returns a hash containing the start and end days of the weekend

Methods

_region(locale)
Parameter Type Description
locale String
Optional
Returns:undefined
getFirstDayOfWeek(locale)

Returns a zero-based index for first day of the week

Returns a zero-based index for first day of the week, as used by the local (Gregorian) calendar. e.g. Sunday (returns 0), or Monday (returns 1)

Parameter Type Description
locale String
Optional
Returns:number
getWeekend(locale)

Returns a hash containing the start and end days of the weekend

Returns a hash containing the start and end days of the weekend according to local custom using locale, or by default in the user's locale. e.g. {start:6, end:0}

Parameter Type Description
locale String
Optional
Returns:object
Error in the documentation? Can’t find what you are looking for? Let us know!