Lunar Event Sequence
Sequence representing all LunarEvents supported by Kastro. The sequence will be ordered by SolarEvent.time either advancing forwards or backwards in time depending on the reverse
parameter.
As implied by being a Sequence values will be lazily calculated so setting a large or even infinite limit is acceptable.
Parameters
Time representing the beginning of the sequence
Pair where the first Double represents the latitude in degrees and the second represents longitude in degrees.
Point at which the sequence will end. If you wish for an infinite sequence simply put Duration.INFINITE for limit. Calculations are done lazily so requesting an infinite sequence is not harmful. Limit only exists to allow certain logical checks such as if you wanted to know if there will be any event in the next hour you could use limit and then check if the resulting sequence is empty. Defaults to 365 days.
A List of LunarEvent.LunarEventTypes to calculate event times for.
Whether the sequence should advance in reverse chronological order. By default, this is false resulting in a Sequence that advances chronologically in time.
Parameters
Time representing the beginning of the sequence
Latitude of the observer in degrees
Longitude of the observer in degrees
Point at which the sequence will end. If you wish for an infinite sequence simply put Duration.INFINITE for limit. Calculations are done lazily so requesting an infinite sequence is not harmful. Limit only exists to allow certain logical checks such as if you wanted to know if there will be any event in the next hour you could use limit and then check if the resulting sequence is empty. Defaults to 365 days.
A List of LunarEvent.LunarEventTypes to calculate event times for.
Whether the sequence should advance in reverse chronological order. By default, this is false