users@jaxb.java.net

Re: Daylight Savings Time problem and JAXB: HELP!

From: Lawrence, Gabriel <glawrence_at_ucsd.edu>
Date: Wed, 23 Apr 2003 12:22:44 -0700

Oh... I'm sorry. The one that is called now is created by me. The other
two are the ones that come from JAXB generated API calls.

I will try and gel this down to a simple example.

-gabe

-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Wednesday, April 23, 2003 12:17 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Daylight Savings Time problem and JAXB: HELP!

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