Thanks for your response.while i am using the below code(with spring) the
problem i am getting is suppose if today is tuesday but its showing date
format for next included time as "Wed Sep 18 10:55:00 IST 2013" But our
requirement is not showing next included time our need is to show exact date
format as "Tue Sep 17 10:55:00 IST 2013" if current day is tuesday.
with Spring
new CronSequenceGenerator("0 05 14 * * ?",TimeZone.getDefault())
.next(new Date());
with Quartz
new Date(new CronCalendar("0 05 14 * * ?")
.getNextIncludedTime(new Date().getTime())
)
If i am using code (with quartz) its always showing current time in date
format.
Any help on the above issue would be highly apprieciated?
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-in-converting-Cron-expression-into-proper-date-format-tp5739498p5739602.html
Sent from the Camel - Users mailing list archive at Nabble.com.