Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Bug # MOXY Unmarshalling of a DateTime to a java.util.Calendar

Hi Andrew,

Are you able to upgrade to EclipseLink 1.1.2?  There were some timezone related fixes that went into the 1.1 stream.

You can enter bugs at the following site (Note that EclipseLink is a runtime (RT) project):


Gray, Andrew wrote:

There’s no bugzilla link on the eclipselink homepage so I’m not sure how to properly report this or if it has been reported already.


This is using  org.eclipse.persistence.core-1.0.2.jar


If you unmarshall an xs:dateTime into a java.util.Calendar you sometimes get the wrong value out as the timezone offset is applied twice.


In org.eclipse.persistence.internal.oxm.XMLConversionManager


 convertStringToCalendar(String, QName) (XMLConversionManager:360)

calls (indirectly) convertStringToDate(String, DateFormat) (XMLConversionManager:586)

which in turn calls applyTimeZone(Date, String)

      and then calls applyTimeZone() itself.






Andrew Gray


_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx

Back to the top