Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 940 Bytes

next-moon-quarter.md

File metadata and controls

21 lines (12 loc) · 940 Bytes

//astronomy/io.github.cosinekitty.astronomy/nextMoonQuarter

nextMoonQuarter

fun nextMoonQuarter(mq: MoonQuarterInfo): MoonQuarterInfo

Continues searching for lunar quarters from a previous search.

After calling searchMoonQuarter, this function can be called one or more times to continue finding consecutive lunar quarters. This function finds the next consecutive moon quarter event after the one passed in as the parameter mq.

See moonQuartersAfter for convenient iteration of consecutive quarter phases.

Return

The moon quarter that occurs next in time after the one passed in mq.

Parameters

mq The previous moon quarter found by a call to searchMoonQuarter or nextMoonQuarter.