step

infix fun step(stride: Duration): Iterable<Duration>

Creates an iterable that produces durations spread out over the interval, separated by stride.

Respects inclusivity; if the start or end is not included then it will not be produced by the iterator.

If the length of the interval is not a multiple of the stride, the endpoint will not be produced.

Return

an iterable over durations in the interval separated by stride