getAvailableIDs (JavaScript)
Gets all the available IDs supported and also gets available IDs according to the given time zone offset.
Defined in
TimeZone (JavaScript)Syntax
getAvailableIDs() : string[]getAvailableIDs(n:int) : string[]| Parameters | Description |
|---|---|
n |
The given time zone GMT offset. |
| Return value | Description |
|---|---|
string |
An array of IDs or an array of IDs where the time zone for that ID has the specified GMT offset. For example, "America/Phoenix" and "America/Denver" both have GMT-07:00, but differ in daylight saving behavior. |