AstronomyObjectType
public struct AstronomyObjectType : Codable
AstronomyObjectType
Note
For locations north of the arctic circle, or south of the antarctic circle, the assumptions that there is exactly one sunrise and one sunset event per day, or that the sun will rise before it sets, are not true! Depending on the date, there may be two sunset events on the same day, or the sun first sets and rises shortly after. For an example, see the sunrise and sunset times for Svalbard during the month of August.See also
AstronomyObjectType-
Lists all sunrise/sunset events during the day.
Declaration
Swift
public let events: [AstronomyEventType]?
-
Object name. Currently, the sun is the only supported astronomical object.
Declaration
Swift
public let name: String?
-
This element is only present if there are no astronomical events. In this case it will indicate if the sun is up or down the whole day.
Declaration
Swift
public let special: AstronomySpecialType?