MonthlyIter¶
Iterator over the fire instants of a MonthlyRecurrence. Each
call to next_fire() returns the next instant strictly after the
previous one — or, on the first call, strictly after the
after_posix passed at construction.
Sticky error model: once any call returns a NextFireError, every
subsequent call returns the same error. This lets a consumer loop
on next_fire() without re-checking conditions, knowing that
forward progress has stopped.
Constructors¶
create¶
Parameters¶
- r: MonthlyRecurrence val
- after_posix: (I64 val , I64 val)
Returns¶
- MonthlyIter ref^
Public Functions¶
next_fire¶
Returns¶
- ((I64 val , I64 val) | NextFireError)