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

Convert between TimeUnit and ChronoUnit

    XMLWordPrintable

    Details

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

      Description

      There is no mechanism in the JDK to convert between java.util.concurrent.TimeUnit and ChronoUnit. The code to do this has been written in ThreeTen-Extra. I suspect that these new methods will have to go on ChronoUnit, not TimeUnit, but need to ensure no module or class-loading order impacts.

        Attachments

          Activity

            People

            Assignee:
            martin Martin Buchholz
            Reporter:
            scolebourne Stephen Colebourne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: