dojox/date/islamic/locale (version 1.10)

See the dojox/date/islamic/locale reference documentation for more information.

Property Summary

Method Summary

  • _getIslamicBundle(locale)
  • _parseInfo(options)
  • addCustomFormats(packageName,bundleName) Add a reference to a bundle containing localized custom formats to be used by date/time formatting and parsing routines.
  • format(dateObject,options) Format a Date object as a String, using settings.
  • getNames(item,type,context,locale,date) Used to get localized strings from dojo.cldr for day or month names.
  • parse(value,options) This function parse string date value according to options
  • regexp(options) Builds the regular needed to parse a islamic.Date

Properties

months
weekDays

Methods

_getIslamicBundle(locale)
Parameter Type Description
locale String
Returns:object
_parseInfo(options)
Parameter Type Description
options oblect
Optional
addCustomFormats(packageName,bundleName)

Add a reference to a bundle containing localized custom formats to be used by date/time formatting and parsing routines.

Parameter Type Description
packageName String
bundleName String
format(dateObject,options)

Format a Date object as a String, using settings.

Parameter Type Description
dateObject dojox/date/islamic/Date
options Object
Optional
getNames(item,type,context,locale,date)

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

Parameter Type Description
item String
type String
context String
Optional
locale String
Optional
date dojox/date/islamic/Date
Optional
Returns:undefined
parse(value,options)

This function parse string date value according to options

Parameter Type Description
value String
options Object
Optional
regexp(options)

Builds the regular needed to parse a islamic.Date

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