Epoch

public enum Epoch : CustomStringConvertible

Standard eqpoch values. Note: equinoxes are directions, epochs are point in time.

  • The mean epoch of the date.

    Declaration

    Swift

    case epochOfTheDate(JulianDay)
  • The standard 2000 epoch: January 1st, 2000, in the Julian calendar (1 year = 365.25 days).

    Declaration

    Swift

    case J2000
  • The standard 1950 epoch: January 1st, 1950, in the Besselian calendar (1 year = 365.2421988 days in AD1900, that is, the length of the tropical year).

    Declaration

    Swift

    case B1950
  • Declaration

    Swift

    public var description: String { get }