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

Normalizing UTC time-zone to offset Z causes problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • 8
    • b102
    • generic
    • generic
    • Verified

      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

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

              Created:
              Updated:
              Resolved: