toIterable

fun ClosedRange<LocalDate>.toIterable(amount: Long = 1, unit: TemporalUnit = ChronoUnit.DAYS): Iterable<LocalDate>

Converts range of local dates to Iterable.

Parameters

amount

difference between dates in iterator

unit

units of a difference