-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JodaTime throws exception on hour shifting #19
Comments
@danilo-valente Good catch! Thank you for contributing the fix! |
jmrozanec
added a commit
that referenced
this issue
May 20, 2015
Issue #19: Fix nextExecution/lastExecution datetime shifting
@jmrozanec Glad to help! Do you have any idea on when v1.1.3 is going to be released? |
@danilo-valente I will be releasing it this weekend. |
@jmrozanec Thanks 😃 |
@danilo-valente you are welcome! |
@danilo-valente new version released! New version number is 2.0.0, since there were some incompatible API changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code:
Would throw this exception:
org.joda.time.IllegalFieldValueException: Value 24 for hourOfDay must be in the range [0,23]
because 23:59:59 + 1 second would become 24:00:00, which is an invalid hour for a newDateTime
object.The text was updated successfully, but these errors were encountered: