Why does Quartz keep the Date and Calendar classes? #1288
Unanswered
hwangjeyeon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, Quartz community
Setting the startNow() of Quartz's TriggerBuilder
I checked that it is not compatible with the LocalDateTime type of my project.
I checked the startTime field of the Trigger class and found that it is Date type.
Unnecessary Date Type Conversion Logic has been added to the project.
The latest project uses a class of java.time packages that are supported starting with Java8
For example, ZonedDateTime and LocalDateTime are typical
But I'm still wondering why you keep the Date and Calendar classes in Quartz.
And do you have any plans to change the Date class?
If you are careful because a Date Class change brings unexpected variables to the Quartz scheduler
Is there any way or plan to add related fields?
Thank you for reading my discussion!
Beta Was this translation helpful? Give feedback.
All reactions