Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146218

Add LocalDate.datesUntil method producing Stream<LocalDate>

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b105

      Description

      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

        Activity

        tvaleev Tagir Valeev created issue -
        hgupdate HG Updates made changes -
        Field Original Value New Value
        Status New [ 10000 ] Open [ 1 ]
        hgupdate HG Updates made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolved In Build team [ 17324 ]
        Fix Version/s 9 [ 14949 ]
        Resolution Fixed [ 1 ]
        hgupdate HG Updates made changes -
        Resolved In Build team [ 17324 ] master [ 18256 ]
        hgupdate HG Updates made changes -
        Resolved In Build master [ 18256 ] b105 [ 17826 ]
        iris Iris Clark made changes -
        Labels jsr379-annex2-tbd
        iris Iris Clark made changes -
        Labels jsr379-annex2-tbd jsr379-annex1
        darcy Joe Darcy made changes -
        Link This issue csr of CCC-8146218 [ CCC-8146218 ]

          People

          • Assignee:
            tvaleev Tagir Valeev
            Reporter:
            tvaleev Tagir Valeev
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: