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

Conversion of LocalDate to java.util.Date

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      There are libraries that accept `java.util.Date`. `LocalDate` provides a richer API, and it would be nice to have a convenient mapping method that would return a corresponding `java.util.Date` instance. It would make fluent one-liners like this one possible
      ```java
      javaUtilDateAcceptingMethod(LocalDate.now().toDate());
      ```



      Attachments

        Activity

          People

            naoto Naoto Sato
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: