getInvertedDateRangeToAsStream

fun LocalDate.getInvertedDateRangeToAsStream(to: LocalDate): Stream<LocalDate>

Returns stream of decreasing days from this date to to date (both inclusive). This means that this date should be later than to date to obtain non-empty stream.

Sources

Katlib source
Link copied to clipboard