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

(tz) TimeZone.getAvailableIDs(int) may produce inconsistent info with getRawOffset()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 6
    • 6
    • core-libs
    • b07
    • generic
    • generic

    Backports

      Description

        The getAvailableIDs(int) method should be consistent with getRawOffset() which returns the GMT offset of the time zone at the current time. Currently, getAvailableIDs(int) assumes the last known GMT offset.
        ###@###.### 2004-06-01
        JCK test case TimeZone2014 checks consistencies between the time zone offset given to TimeZone.getAvailableIDs(int) and the retrun value of TimeZone.getRawOffset() of each time zone returned by the getAvailableIDs(int) call. TimeZone0003 could be affected if time zone's future GMT offset change is related to min or max values.

        Attachments

          Issue Links

            Activity

              People

                okutsu Masayoshi Okutsu
                okutsu Masayoshi Okutsu
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: