users@jaxb.java.net

Re: Daylight Savings Time problem and JAXB: HELP!

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 23 Apr 2003 12:16:52 -0700

Are you sure the Calendar object you've created in fact came from the
XML document?

I checked the relevant code and it's hard to understand why its timezone
is set to PDT. We internally always create java.util.SimpleTimeZone and
use it as a time zone, whereas your output shows that yours has
sun.util.calendar.ZoneInfo.

If the XML document didn't have a time zone at all, that might explain
it.

If you could make a small sample that reproduces the problem, that would
be really helpful to track down the problem.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com