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.
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
- duplicates
-
JDK-1254945 java.util.Date.parse() does not follow the language spec for dates like 02/14/96
- Closed