I am working with Quartz Job Scheduler and get a Date object returned when rescheduling a Job. I want to show the exact time of this Date object, but it seems that something is going wrong. When I print out the time I got a totally wrong time: Mon Dec 12 14:43:40 CET 2005
Below you see the code I use:
Can you help me please? [ June 27, 2007: Message edited by: Jeppe Fjord ]
Originally posted by Satou kurinosuke: What Date did you set in the trigger you are trying to replace ? Please add the following line before rescheduleJob :
Alright the above System.out.println prints out the same result: Mon Dec 12 14:43:37 CET 2005
I found out that this date is the start time (java.util.Date startTime) of my trigger. I was just convinced that scheduler.rescheduleJob, would return the time that the job was rescheduled and not the starttime being initiated.
~ Alright I got it. Thanks for your help :-) [ June 28, 2007: Message edited by: Jeppe Fjord ]