Class Location
java.lang.Object
com.timeanddate.services.dataTypes.places.Location
- Author:
- Cato Auestad <cato@timeanddate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Location
Astronomical information – sunrise and sunset times.Geographical information about the location.getId()
The id of the location.getTime()
Time information about the location.Time changes (daylight savings time).getUTCOffsetFromLocalTime(TADDateTime localTime)
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
getId
The id of the location. -
getGeography
Geographical information about the location. -
getTime
Time information about the location. Only present if requested. -
getTimeChanges
Time changes (daylight savings time). Only present if requested and information is available. -
getAstronomy
Astronomical information – sunrise and sunset times. Only for the timeservice and if requested. -
fromNode
-
getUTCOffsetFromLocalTime
public TimeSpan getUTCOffsetFromLocalTime(TADDateTime localTime) throws MissingTimeChangesException, QueriedDateOutOfRangeException, LocalTimeDoesNotExistException
-