Verdandi Recurrence Moments
Represents the result of a recurrence rule evaluation: a finite, ordered collection of VerdandiMoment instances generated according to a frequency, interval, and optional day-of-week or time-of-day constraints.
This class implements List<VerdandiMoment> via delegation, so it can be used directly in any context that expects a list of moments (iteration, indexing, etc.).
Instances are created exclusively through Verdandi.recurrence:
val fridays: VerdandiRecurrenceMoments = Verdandi.recurrence {
every week on fridays indefinitely
}
val dailyAt9: VerdandiRecurrenceMoments = Verdandi.recurrence(start) {
every day at { 9.hours } until end
}Properties
Functions
Returns a new VerdandiRecurrenceMoments instance with the specified moments excluded.
Filters the recurrence moments based on the provided predicate.
Formats each moment in the recurrence according to the provided block pattern.
Checks if the given moment matches the recurrence rule and is not excluded.
Converts the first and last moments of the recurrence to a VerdandiInterval.