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

java.util.Date parses month incorrectly

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: