Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 995 Bytes

next-lunar-eclipse.md

File metadata and controls

21 lines (12 loc) · 995 Bytes

//astronomy/io.github.cosinekitty.astronomy/nextLunarEclipse

nextLunarEclipse

fun nextLunarEclipse(prevEclipseTime: Time): LunarEclipseInfo

Searches for the next lunar eclipse in a series.

After using searchLunarEclipse to find the first lunar eclipse in a series, you can call this function to find the next consecutive lunar eclipse. Pass in the center value from the LunarEclipseInfo returned by the previous call to searchLunarEclipse or nextLunarEclipse to find the next lunar eclipse.

See lunarEclipsesAfter for convenient iteration of consecutive lunar eclipses.

Return

Information about the next lunar eclipse in a series.

Parameters

prevEclipseTime A time near a full moon. Lunar eclipse search will start at the next full moon.