Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Finds the next time Mercury or Venus reaches maximum elongation.

      Searches for the next maximum elongation event for Mercury or Venus that occurs after the given start date. Calling with other values of body will result in an exception. Maximum elongation occurs when the body has the greatest angular separation from the Sun, as seen from the Earth. Returns an ElongationEvent object containing the date and time of the next maximum elongation, the elongation in degrees, and whether the body is visible in the morning or evening.

      Parameters

      • body: Body

        Either Body.Mercury or Body.Venus.

      • startDate: FlexibleDateTime

        The date and time after which to search for the next maximum elongation event.

      Returns ElongationEvent