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

Convert between TimeUnit and ChronoUnit

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs

    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

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

            Dates

              Created:
              Updated:
              Resolved: