public Stream<LocalDate> datesUntil (LocalDate endExclusive, Period step)

Returns a sequential ordered stream of dates by given incremental step. The returned stream starts from this date (inclusive) and goes to endExclusive (exclusive).

The n-th date which appears in the stream is equal to this.plus(step.multipliedBy(n)) (but the result of step multiplication never overflows). For example, if this date is 2015-01-31, the end date is 2015-05-01 and the step is 1 month, then the stream contains 2015-01-31, 2015-02-28, 2015-03-31, and 2015-04-30.

Parameters:
endExclusive    the end date, exclusive, not null
step    the non-zero, non-negative Period which represents the step.

Returns:  a sequential Stream for the range of LocalDate values

Exceptions:
IllegalArgumentException    if step is zero, or step.getDays() and step.toTotalMonths() have opposite sign, or end date is before this date and step is positive, or end date is after this date and step is negative

Since:  9