PrecisionIterationExt extension

Extension for precision-aware iteration.

on

Methods

every(int interval, TimePrecision precision, {Hora? until, int? count}) Iterable<Hora>

Available on Hora, provided by the PrecisionIterationExt extension

Generates a sequence of dates at the given precision interval.
stepTo(Hora end, {required TimePrecision precision}) Iterable<Hora>

Available on Hora, provided by the PrecisionIterationExt extension

Generates dates between this and another at the given precision.