Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public enum TwilightSunAltitude : Degree
  • The two types of equinoxes

    • northwardSpring: Spring in northern hemisphere (~March)
    • southwardSpring: Spring in southern hemisphere (~September)
    See more

    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)
    See more

    Declaration

    Swift

    public enum EarthSolsticeType : Int
  • Standard eqpoch values. Note: equinoxes are directions, epochs are point in time.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public enum Equinox : CustomStringConvertible
  • Earth seasons

    • spring: Spring
    • summer: Summer
    • autumn: Autumn
    • winter: Winter
    See more

    Declaration

    Swift

    public enum Season
  • Moon phases

    • new: New Moon
    • firstQuarter: First Quarter
    • full: Full Moon
    • lastQuarter: Last Quarter
    See more

    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.
    See more

    Declaration

    Swift

    public enum CelestialBodyTransitError : Error