-
Notifications
You must be signed in to change notification settings - Fork 50
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
Enhancement request - would love to go back further to ~ 500 BC #180
Comments
Where does that stacktrace start? Is this a JDK limitation or a KosherJava limitation? I might be interested in solving this, assuming the zmanim aspect of it isn't too complicated. |
@Sternbach-Software ,
please see https://github.com/KosherJava/zmanim/blob/master/src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishDate.java#L620 |
What if there was a separate class (e.g. |
A quote from JodaTime GJChronology javadoc
|
Java
|
Julian calendar is also not accurate due to https://en.wikipedia.org/wiki/Julian_calendar#Leap_year_error. Accuracy is necessary |
@KosherJava Am I inferring correctly from what you said that the only issue with calculating dates < 1/1/1 is in formatting the result and proper usage of the KosherJava API, but algorithmically, the code should output the best approximation possible given that Hillel II's calculations were done in 359 CE (as the class javadoc mentions)? Also, it actually goes from 1 to 0 to -1.
|
java.lang.IllegalArgumentException: A Jewish date earlier than 18 Teves, 3761 (1/1/1 Gregorian) can't be set. 3317, 13, 6 is invalid.
The text was updated successfully, but these errors were encountered: