java.lang.Object
com.timeanddate.services.dataTypes.dst.DST

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

  • Method Details

    • getRegion

      public Region getRegion()
      The geographical region where this information is valid. Contains country, a textual description of the region and the name of the biggest place.
    • getStandardTimezone

      public TADTimezone getStandardTimezone()
      Information about the standard timezone. This element is always returned.
    • getDstTimezone

      public TADTimezone getDstTimezone()
      Information about the daylight savings timezone. Suppressed, if there are no DST changes in the queried year. Please note that if the region is on daylight savings time for the whole year, this information will be returned in the stdtimezone element. Additionally, the Special element will be set to DaylightSavingTimeAllYear.
    • getSpecial

      public DSTSpecialType getSpecial()
      Indicates if the region does not observe DST at all, or is on DST all year long.
    • getDstStart

      public TADDateTime getDstStart()
      Starting date of daylight savings time. Suppressed, if there are no DST changes in the queried year.
    • getDstEnd

      public TADDateTime getDstEnd()
      Ending date of daylight savings time. Suppressed, if there are no DST changes in the queried year.
    • getTimeChanges

      public List<TimeChange> getTimeChanges()
      Time changes (daylight savings time). Only present if requested and information is available.
    • fromNode

      public static DST fromNode(Node node)