toLocalDates method

Iterable<LocalDate> toLocalDates()

Implementation

Iterable<LocalDate> toLocalDates() sync* {
  for (var date = start; date <= end; date = date.plus(1, ChronoUnit.days)) {
    yield date;
  }
}