new TimezoneRegion(regionName, timezoneGroup, selectable)
Identifies timezone region as a timezone object.
Parameters:
Name | Type | Description |
---|---|---|
regionName |
String | region name. |
timezoneGroup |
TimezoneGroup | group to which this city belongs. |
selectable |
Boolean | is region selectable as a timezone. |
- 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
addCity(cityName, selectable)
Add a parent-child relationship between region and city.
Save newly added city in the current timezone region.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
cityName |
String | city name | |
selectable |
Boolean | false | is city selectable as a timezone. |
- Source: