Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.07 KB

next-global-solar-eclipse.md

File metadata and controls

21 lines (12 loc) · 1.07 KB

//astronomy/io.github.cosinekitty.astronomy/nextGlobalSolarEclipse

nextGlobalSolarEclipse

fun nextGlobalSolarEclipse(prevEclipseTime: Time): GlobalSolarEclipseInfo

Searches for the next global solar eclipse in a series.

After using searchGlobalSolarEclipse to find the first solar eclipse in a series, you can call this function to find the next consecutive solar eclipse. Pass in the peak value from the GlobalSolarEclipseInfo returned by the previous call to searchGlobalSolarEclipse or nextGlobalSolarEclipse to find the next solar eclipse.

See globalSolarEclipsesAfter for convenient iteration of consecutive eclipses.

Return

Information about the next consecutive solar eclipse.

Parameters

prevEclipseTime A date and time near a new moon. Solar eclipse search will start at the next new moon.