ScheduleInfo schedule = task.getSchedule();
Calendar start = schedule.getStart();
// temp bug workaround for testing
//start.set(Calendar.HOUR, start.get(Calendar.HOUR)-1);
schedule(task.getName(), start.getTime());
schedule sets up the java.util.Timer task...
What WAS happening is that without the commented section, I would submit
a Calendar from the JNLP client to the server running on the same box,
and it would show 1 hour different than the XML (which I was printing as
I deserialized it).
Then I tried your new xsdlib, which was core dumping for some reason.
Then I switched back to the old one, and it isn't happening now, thus it
being commented out.
Not sure what is going on.
Malachi
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Tuesday, August 26, 2003 3:27 PM
To: users_at_jaxb.dev.java.net
Now I'm confused.
I thought you are using the Date.getHours method because your original
code snippet implies that you are getting a Date instance.
What is the exact code you used to find a problem?
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net