but this works
batchDLTime = java.sql.Time.valueOf("09:00:00");
why?
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Slepecki, Willie
Sent: Wed 8/13/2008 5:37 PM
To: [email protected]
Subject: [jibx-users] time formatting
i have a schema element with a data type of time. field in my class is of type
java.sql.Time. i fill that field with an appropriate time object. when jibx
builds the response, this is what i get
<BatchDLTime>0-307:0-49:0-20</BatchDLTime>
not quite what i was looking for.
i fill that time field with this
batchDLTime = new Time(d.getTime());
d is a basic java.util.Date object.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users