FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
when I create a SimpleDateFormat with "yyyyMMdd" pattern and I use the parse(String string) method, whith string="00000000", the return value is "Sun Nov 30 00:00:00 CET 2". Why Nov 30 2 AD ???
ACTUAL -
Sun Nov 30 00:00:00 CET 2
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
SimpleDateFormat f = new SimpleDateFormat("yyyyMMdd");
try {
System.err.println(f.parse("00000000"));
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
---------- END SOURCE ----------