java.sql.Timestamp broken in some time zones

XMLWordPrintable

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



      Name: krT82822 Date: 06/16/99


      [believe this is a dupe, but can't find the correct bug # to dupe this to. --kevin.ryan@eng, 16 June 99]

      TimeZone.setDefault(TimeZone.getTimeZone("PST"));
      System.out.println(
              new java.sql.Timestamp(99, 3, 4, 2, 30, 0, 0));

      prints "1999-04-04 01:30:00.0"
      (Review ID: 83505)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: