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

TemporalAdjusters and TemporalQueries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • 8
    • b113
    • Verified

    Description

      The static methods on TemporalAdjuster and TemporalQuery feel slightly misplaced after using them for a few months. While they make discovery easier, they add significant weight to the basic interface. Using separate static classes for methods which are an extensible set feels more appropriate now.

      Recreating public TemporalAdjusters and TemporalQueries classes is relatively easy, as they are already package scoped.

      See JSR 310 issue: https://github.com/ThreeTen/threeten/issues/340

      Attachments

        Activity

          People

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: