//astronomy/io.github.cosinekitty.astronomy/searchMoonQuarter
fun searchMoonQuarter(startTime: Time): MoonQuarterInfo
Finds the first lunar quarter after the specified date and time. A lunar quarter is one of the following four lunar phase events: new moon, first quarter, full moon, third quarter. This function finds the lunar quarter that happens soonest after the specified date and time.
To continue iterating through consecutive lunar quarters, call this function once, followed by calls to #NextMoonQuarter as many times as desired.
See moonQuartersAfter for convenient iteration of consecutive quarter phases.
A MoonQuarterInfo object reporting the next quarter phase and the time it will occur.
startTime | The date and time at which to start the search. |