automata/cron/iterator
Types
Cron iterator state. opaque because the cursor must stay
synchronised with the embedded plan; constructing one with an
arbitrary cursor would skip occurrences.
pub opaque type CronIterator
pub type Step {
Yield(at: ast.ValidDateTime, next: CronIterator)
Done
}
Constructors
-
Yield(at: ast.ValidDateTime, next: CronIterator) -
Done
Values
pub fn after(
plan plan: normalize.CronPlan,
boundary boundary: ast.Boundary,
) -> CronIterator
pub fn step(iterator: CronIterator) -> Step