-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b105
The following methods could be added to java.time.LocalDate:
// Return the Stream of all dates starting from this (inclusive) until the supplied one (exclusive)
Stream<LocalDate> datesUntil(LocalDate endExclusive);
// Return the Stream of dates starting from this (inclusive) until the supplied one (exclusive) with given step.
Stream<LocalDate> datesUntil(LocalDate endExclusive, Period step);
The proposal is discussed here:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-December/037844.html
// Return the Stream of all dates starting from this (inclusive) until the supplied one (exclusive)
Stream<LocalDate> datesUntil(LocalDate endExclusive);
// Return the Stream of dates starting from this (inclusive) until the supplied one (exclusive) with given step.
Stream<LocalDate> datesUntil(LocalDate endExclusive, Period step);
The proposal is discussed here:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-December/037844.html