Class TADTimezone

java.lang.Object
com.timeanddate.services.dataTypes.time.TADTimezone

public class TADTimezone extends Object
Author:
Cato Auestad <cato@timeanddate.com>
  • Constructor Details

    • TADTimezone

      public TADTimezone()
  • Method Details

    • getAbbrevation

      public String getAbbrevation()
      Abbreviated timezone name. Example: LHDT
    • getName

      public String getName()
      Full timezone name. Example: Lord Howe Daylight Time
    • getOffset

      public TimeSpan 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

      public static TADTimezone fromNode(Node node)