Functiondojo.date.locale.getNames

dojo.require("dojo.date.locale");
defined in dojo/date/locale.js

Used to get localized strings from dojo.cldr for day or month names.

Usage

function (/*String*/ item, /*String*/ type, /*String?*/ use, /*String?*/ locale) (view source)
parametertypedescription
itemStringmonths || 'days'
typeStringwide || 'narrow' || 'abbr' (e.g. "Monday", "Mon", or "M" respectively, in English)
useStringOptional. standAlone || 'format' (default)
localeStringOptional. override locale used to find the names