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

java.util.Date parses month incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1
    • core-libs
    • None
    • generic
    • solaris_2.5

      If a numeric date is parsed (eg 7/4/96) meaning July 4, 1996, the 7 is
      parsed and placed DIRECTLY in the month field. However the month field
      is 0..11 not 1..12 so the date is effectively read as one month later.

            duke J. Duke
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: