Skip to content
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

fix yerushalmi yomi class #190

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Conversation

Elyahu41
Copy link
Contributor

So... a little background as to why I want to suggest this fix. I was using the Yerushalmi Calculator in my zmanim app and I noticed that it returned masechta nidda and null for the daf on tisha b'av. Same is true for Yom kippur.

No where in the javadoc does it mention this, only in the code. I had to figure this out the hard way.

In this PR, I suggest a few changes to the javadoc to make it more clear to people to check for edge cases/nulls.

And I don't know why the author decided to return a new Daf(39, 0) instead of just null. That object will return null on the getDaf() method and it is not clear why in the Daf class.

Let me know what you think about this issue.

@Elyahu41
Copy link
Contributor Author

P.S. sorry for the blank spaces. I copied over the whole class a few times while figuring out how to commit a proper PR.

Copy link
Owner

@KosherJava KosherJava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Elyahu41

@KosherJava KosherJava merged commit 35eef61 into KosherJava:master Sep 13, 2022
@Elyahu41 Elyahu41 deleted the yerushalmi branch November 27, 2022 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants