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

Normalizing UTC time-zone to offset Z causes problems

    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:
      b102
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The ZoneIdPrinterParser now returns the ZoneOffset.UTC for UTC, GMT and UT for formatter of appendZoneId, appendZoneRegionId and appendZoneOrOffsetId. By Comparison ZoneId.of with GMT, UTC, and UT return a ZoneId retaining the prefix.
      ZoneIdPrinterParser should parse input consisently and return the same value as ZoneId.of.

      Related GitHub issue #262: https://github.com/ThreeTen/threeten/issues/262

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: