AstronomyCurrent

public struct AstronomyCurrent : Codable

Astronomy Data Current

  • Local time stamp for the data in ISO 8601 format (including UTC offset). Only returned if requested by specifying the parameter isotime. - Example: 2012-04-17T00:57:42+02:00

    Declaration

    Swift

    public let isotime: Date?
  • UTC time stamp for the data in ISO 8601 format. Only returned if requested by specifying the parameter utctime. - Example: 2012-04-16T22:57:42

    Declaration

    Swift

    public let utctime: Date?
  • Altitude of the center of the queried astronomical object above an ideal horizon. - Type: Integer

    Declaration

    Swift

    public let altitude: Float
  • Horizontal direction of the astronomical object at set/rise time (referring to true north). North is 0 degrees, east is 90 degrees, south is 180 degrees and west is 270 degrees.

    Declaration

    Swift

    public let azimuth: Float
  • Distance of the earth’s center to the center of the queried astronomical object in kilometers.

    Declaration

    Swift

    public let distance: Int
  • The fraction of the Moon’s surface illuminated by the Sun’s rays as seen from the selected location. Only for the moon for meridian type events.

    Declaration

    Swift

    public let illuminated: Float?
  • The counterclockwise angle of the midpoint of the Moon’s bright limb as seen from the selected location. Only available for the moon object.

    Declaration

    Swift

    public let posangle: Float?
  • The current phase of the moon. Only available for the moon object. - SeeAlso:: Moon Phase

    Declaration

    Swift

    public let moonphase: MoonPhase.RawValue