Keith:

I have some XML documents that have xs:dateTime fields, but castor
is not reading in the values the way I expect

>From file:
<theTime>2002-10-09T15:51:13.748208750Z</theTime> 

>From castor:
<theTime>2002-10-18T07:41:21.750Z</theTime> 

Castor has:
- incorrect day (October 18, 2002 should be October 9, 2002)
- incorrect time (7:41:21.750 should be 15:51:13.748208750)

Seems like Castor does not recognize the input correctly
for a completely specified date time including time zone.

Is this a bug?

I have tried using but the marshalled output is the same as above
DateFieldHandler.setDefaultTimeZone(TimeZone.getTimeZone("UTC"));




--
g GE Global Research
____________________________
G. Bowden Wise 
mailto:[EMAIL PROTECTED]
Information and Decision Technologies 
GE Global Research Center 
Building K1, Room 5B2C 
PO Box 8                            | One Research Circle 
Schenectady, NY 12301   | Niskayuna NY 12309 
Phone: 518-387-7833; Dialcom: 8*833-7833; Fax: 518-387-6104 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to