In fact, XMLBeans doesn't have a default time zone. Date and DateTime
fields without timezone have a precise meaning in XmlSchema, which is
that they represent that date/datetime in all timezones, and XMLBeans
preserves this meaning.

However, if you do getTime() or other method that triggers time
computation, a timezone has to be assumed. If you want to specify which
one, set the time zone on the calendar before doing anything with it.

Hope this helps,
Radu

On Fri, 2008-06-27 at 16:16 -0700, tory_mckeag wrote:
> Is there a way to override the default time zone that XmlBeans uses when
> parsing, so that date and dateTime fields without time zones are assumed to
> be in some other time other than the JDK default time zone?  


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to