openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #05274
[Bug 275654] Re: "Unparseable date"
** Changed in: openjdk
Importance: Unknown => Medium
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
https://bugs.launchpad.net/bugs/275654
Title:
"Unparseable date"
Status in OpenJDK:
Invalid
Status in “openjdk-6” package in Ubuntu:
Invalid
Bug description:
import java.util.*;
DateFormat dp = new SimpleDateFormat("yyyyMMddHHmmss z");
Date start = dp.parse("20081001175000 CET");
returns "Unparseable date" on OpenJDK 6 on Ubuntu 8.04.1 server, but
works with Sub Java 6 on Gentoo.
I suspect it doesn't understand the timezone "CET" and expects a
numerical ("+0100" or "+0200", depending on summer / winter time)?
References