SimpleTimeZone.getOffset returns invalid value

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.4.2
    • Component/s: core-libs



      Name: auR10023 Date: 12/24/2002



      The java.util.SimpleTimeZone.getOffset works wrong when its time zone end rule
      is at the beginning of a year and getOffset parameters represent a day which is just after the end rule date.

      This problem is described more clearly in 4278609.

      Following JCK tests fails due to this bug (with jdk build 1.4.2-beta-b10):

      api/java_util/SimpleTimeZone/index.html#setXXXRule[SimpleTimeZone1091]
      api/java_util/SimpleTimeZone/index.html#setXXXRule[SimpleTimeZone2006]

      Please do not close this bug as duplicate of 4278609 because it was fixed incompletely.

      ======================================================================

            Assignee:
            Masayoshi Okutsu
            Reporter:
            Avu Avu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: