Class TimeChange
java.lang.Object
com.timeanddate.services.dataTypes.time.TimeChange
- Author:
- Cato Auestad <cato@timeanddate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeChange
int
New DST offset in seconds.The new local time after the transition.int
New timezone offset to UTC in seconds if there is a timezone change for this place.int
New total offset to UTC in seconds.The old local time before the transition.The UTC time of the transition
-
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
The UTC time of the transition -
getOldLocalTime
The old local time before the transition. -
getNewLocalTime
The new local time after the transition. -
fromNode
-