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

java.sql.Timestamp broken in some time zones

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: