dojox/date/timezone (version 1.10)

Summary

mix-in to dojo.date to provide timezones based on the Olson timezone data

mix-in to dojo.date to provide timezones based on the Olson timezone data. If you pass "timezone" as a parameter to your format options, then you get the date formatted (and offset) for that timezone

See the dojox/date/timezone reference documentation for more information.

Method Summary

  • getAllZones() Returns an array of zones that have been loaded
  • getTzInfo(dt,tz) Returns the timezone information for the given date and timezone string
  • loadZoneData(data) Loads the given data object into the zone database

Methods

getAllZones()
Defined by dojox/date/timezone

Returns an array of zones that have been loaded

Returns:Array
getTzInfo(dt,tz)
Defined by dojox/date/timezone

Returns the timezone information for the given date and timezone string

Parameter Type Description
dt Date

The Date - a "proxyDate"

tz String

String representation of the timezone you want to get info for date

Returns:object
loadZoneData(data)
Defined by dojox/date/timezone

Loads the given data object into the zone database

Parameter Type Description
data Object

The data to load - contains "zones" and "rules" parameters

Error in the documentation? Can’t find what you are looking for? Let us know!