Any planet other than the Earth.
The desired angular difference in degrees between the ecliptic longitudes
of body and the Earth. Must be in the range (-180, +180].
The date and time after which to find the next occurrence of the body and the Earth reaching the desired relative longitude.
The time when the Earth and the body next reach the specified relative longitudes.
Searches for when the Earth and a given body reach a relative ecliptic longitude separation.
Searches for the date and time the relative ecliptic longitudes of the specified body and the Earth, as seen from the Sun, reach a certain difference. This function is useful for finding conjunctions and oppositions of the planets. For the opposition of a superior planet (Mars, Jupiter, ..., Pluto), or the inferior conjunction of an inferior planet (Mercury, Venus), call with
targetRelLon= 0. The 0 value indicates that both planets are on the same ecliptic longitude line, ignoring the other planet's distance above or below the plane of the Earth's orbit. For superior conjunctions, call withtargetRelLon= 180. This means the Earth and the other planet are on opposite sides of the Sun.