-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P1
-
None
-
Affects Version/s: 1.1.4
-
Component/s: core-libs
-
sparc
-
solaris_2.5.1
In ja locale, If I pass a valid date string, e.q. "Wed Jul 1 12:15:23 1988", through the following codes, the ruturn Date object d from the parse method is always a null.
This only happens in ja locale. en locale is fine with it.
This bug is reported to JDK 1.1.4.
----------------------------------------------------------------------
SimpleDateFormat formatter =
new SimpleDateFormat ("EEE MMM d HH:mm:ss yyyy");
Date d = (Date) formatter.parse(dateString.trim(), new ParsePosition(0));
-----------------------------------------------------------------------
This only happens in ja locale. en locale is fine with it.
This bug is reported to JDK 1.1.4.
----------------------------------------------------------------------
SimpleDateFormat formatter =
new SimpleDateFormat ("EEE MMM d HH:mm:ss yyyy");
Date d = (Date) formatter.parse(dateString.trim(), new ParsePosition(0));
-----------------------------------------------------------------------