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

Normalizing UTC time-zone to offset Z causes problems

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • 8
    • b102
    • generic
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: