cldr/supplemental

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–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/cldr/supplemental.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部