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

Support for Duration until another Instant

XMLWordPrintable

    • b24

      The API to compute the duration between instants can be hard to find and not straight-forward.

      A new method on Instant to return the duration `until` another Instant is suggested.

      Discussion on core-libs-dev:
      https://mail.openjdk.org/pipermail/core-libs-dev/2024-April/122131.html
      https://mail.openjdk.org/pipermail/core-libs-dev/2024-April/122137.html

            naoto Naoto Sato
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: