Class TADTimezone
java.lang.Object
com.timeanddate.services.dataTypes.time.TADTimezone
- Author:
- Cato Auestad <cato@timeanddate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TADTimezone
Abbreviated timezone name.int
Basic timezone offset (without DST) in seconds.int
DST component of timezone offset in seconds.getName()
Full timezone name.The timezone offset (from UTC) as TimeSpan.int
Total offset from UTC in seconds.
-
Constructor Details
-
TADTimezone
public TADTimezone()
-
-
Method Details
-
getAbbrevation
Abbreviated timezone name. Example: LHDT -
getName
Full timezone name. Example: Lord Howe Daylight Time -
getOffset
The timezone offset (from UTC) as TimeSpan. -
getBasicOffset
public int getBasicOffset()Basic timezone offset (without DST) in seconds. -
getDSTOffset
public int getDSTOffset()DST component of timezone offset in seconds. -
getTotalOffset
public int getTotalOffset()Total offset from UTC in seconds. -
fromNode
-