Home > @magiclane/maps-sdk > TimezoneResult
TimezoneResult class
Result which contains all information about a timezone
This class should not be instantiated directly. Instead, use the related methods from TimezoneService to obtain an instance.
Core
Signature:
export declare class TimezoneResult extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
number | bigint | ||
|
|
number |
The offset daylight saving time (DST) offset. Returns 0 if no DST available. | |
|
|
Date |
Get the local time The local time is returned as a UTC Date object but contains the local time at the requested location | |
|
|
number |
Get the offset including DST Can be negative | |
|
|
Get the status of the response | ||
|
|
string |
Get the ID of the timezone It is in the format "Continent/City_Name". Examples: Europe/Paris, America/New_York, Europe/Moscow | |
|
|
number |
Get the UTC offset without DST Can be negative |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|