Any relation between Quartz API and Joda Time API?

前端 未结 4 948
傲寒
傲寒 2021-02-15 09:34

Is it possible to create a date in JodaTime and then make Quartz schedule the job using the JodaTime object? Can we give a Period jodaPeriod to Quartz API in order to run a task

4条回答
  •  梦如初夏
    2021-02-15 10:13

    I've started to use Joda Time in newer parts of my company's app and I've found it easier to link to the legacy parts (including Quartz scheduling) by converting the Joda Time object back to java.util.Date which the older parts are still expecting. I hope this helps.

提交回复
热议问题