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

TemporalAdjusters and TemporalQueries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b113
    • Verification:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: