Better return type for TemporalField resolve

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • 8
    • b112
    • Verified

      TemporalField.resolve() currently returns ChronoLocalDate, which is limiting and ties the temporal API more closely to the chrono API than necessary.

      Return TemporalAccessor instead and handle a few more ChronoLocalDate, ChronoLocalDateTime, ChronoZonedDateTime, and LocalTime.

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

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: