EventClass
public enum EventClass : String, CaseIterable
Astronomy Event Class
-
Combination of all known classes.
Declaration
Swift
case all = "all"
-
The current phase for the place requested. Additional attributes for illumination (moon), azimuth, distance.
Declaration
Swift
case current = "current"
-
Day length. Day length is not reported as an event, but as a separate attribute.
Declaration
Swift
case daylength = "daylength"
-
Meridian (Noon, highest point) and Anti-Meridian (lowest point) events.
Declaration
Swift
case meridian = "meridian"
-
Moon phase events. Additionally to the phase events (only occurring on four days per lunar month), an additional attribute for the current moon phase is reported for every day.
Declaration
Swift
case phase = "phase"
-
Set and rise events. Event times take atmospheric refraction into account.
Declaration
Swift
case setrise = "setrise"
-
Combination of all 3 twilight classes.
Declaration
Swift
case alltwilights = "alltwilights"
-
Civil twilight (-6°).
Declaration
Swift
case civiltwilight = "civiltwilight"
-
Nautical twilight (-12°).
Declaration
Swift
case nauticaltwilight = "nauticaltwilight"
-
Astronomical twilight (-18°).
Declaration
Swift
case astronomicaltwilight = "astronomicaltwilight"