Add java.time.Duration constants MIN and MAX

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b21
    • generic
    • generic

      The suggestion is to add constants for Duration.MAX equivalent to `Duration.ofSeconds(Long.MAX_VALUE, 999_999_999)'
      Suggested in this thread: https://mail.openjdk.org/pipermail/core-libs-dev/2025-September/151098.html
      Read all of the thread; there some reservations about use cases.

            Assignee:
            Pavel Rappo
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: