W3cubDocs

/Dojo

dojo/cldr/supplemental

Summary

TODOC

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

Methods

getFirstDayOfWeek(locale)

Defined by dojo/cldr/supplemental

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)

Defined by dojo/cldr/supplemental

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

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/cldr/supplemental.html