Functiondojo.cldr.supplemental.getWeekend

dojo.require("dojo.cldr.supplemental");
defined in dojo/cldr/supplemental.js

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}

Usage

function (/*String?*/ locale) (view source)
parametertypedescription
localeStringOptional.