Class: TimezoneGroup

TimezoneGroup(groupName)

new TimezoneGroup(groupName)

Identifies timezone group as a timezone object.
Parameters:
Name Type Description
groupName String group name.
Source:

Extends

Members

selectable

Returns selectable state of a TimezoneObject in a timezones list.
Overrides:
Source:

timezone

Recursively generates String representation of the timezone. Format: "//"
Overrides:
Source:

timezoneName

Recursively generates String representation of the timezone for widget face. Format: ", , "
Overrides:
Source:

Methods

addRegion(regionName, selectable) → {TimezoneObject}

Add a parent-child relationship between group and region. Save newly added region in the current timezone group.
Parameters:
Name Type Default Description
regionName String region name
selectable Boolean false is region selectable as a timezone.
Source:
Returns:
newly added region.
Type
TimezoneObject

addRegionCity(regionName, cityName, regionSelectable, citySelectable)

Add a parent-child relationship between group and region. Add a parent-child relationship between region and city. Save newly added region in the current timezone group. Save newly added city in the newly created timezone region.
Parameters:
Name Type Default Description
regionName String region name.
cityName String city name.
regionSelectable String false is region selectable as a timezone.
citySelectable String false is city selectable as a timezone.
Source: