Class TimeChange

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

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

    • TimeChange

      public TimeChange()
  • Method Details

    • getNewDaylightSavingTime

      public int getNewDaylightSavingTime()
      New DST offset in seconds. Value will be null if there is no DST for this location.
    • getNewTimezoneOffset

      public int getNewTimezoneOffset()
      New timezone offset to UTC in seconds if there is a timezone change for this place. Otherwise the value will be null. Time zones changes happen only very rarely, so the field will be null on most occasions.
    • getNewTotalOffset

      public int getNewTotalOffset()
      New total offset to UTC in seconds.
    • getUtcTime

      public TADDateTime getUtcTime()
      The UTC time of the transition
    • getOldLocalTime

      public TADDateTime getOldLocalTime()
      The old local time before the transition.
    • getNewLocalTime

      public TADDateTime getNewLocalTime()
      The new local time after the transition.
    • fromNode

      public static TimeChange fromNode(Node node)