Enumerations
The following enumerations are available globally.
-
The two types of equinoxes
- northwardSpring: Spring in northern hemisphere (~March)
- southwardSpring: Spring in southern hemisphere (~September)
Declaration
Swift
public enum EarthEquinoxType : Int
-
The two type of solstices
- northernSummer: Summer in the northern hemisphere (~June)
- southernSummer: Summer in the northern hemisphere (~December)
Declaration
Swift
public enum EarthSolsticeType : Int
-
Standard eqpoch values. Note: equinoxes are directions, epochs are point in time.
See moreDeclaration
Swift
public enum Epoch : CustomStringConvertible
-
Standard equinox values. Note: equinoxes are directions, epochs are point in time. The vernal equinox, which is the zero point of both right ascension and celestial longitude, is defined to be in the direction of the ascending node of the ecliptic on the equator. Of course, at the standard epoch of J2000 corresponds to a specific (and thus standard) equinox.
See moreDeclaration
Swift
public enum Equinox : CustomStringConvertible
-
Declaration
Swift
public enum Season
-
Moon phases
- new: New Moon
- firstQuarter: First Quarter
- full: Full Moon
- lastQuarter: Last Quarter
Declaration
Swift
public enum MoonPhase
-
Error used when computing Rise Transit and Set times (see Earth twilights and planetary rise, transit and set times).
- alwaysBelowAltitude: The object is always below the given altitude.
- alwaysAboveAltitude: The object is always above the given altitude.
Declaration
Swift
public enum CelestialBodyTransitError : Error