We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5abe6 commit e34fc87Copy full SHA for e34fc87
src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishCalendar.java
@@ -798,7 +798,7 @@ public int getYomTovIndex() {
798
*/
799
public boolean isYomTov() {
800
int holidayIndex = getYomTovIndex();
801
- if ((isErevYomTov() && (holidayIndex != HOSHANA_RABBA && holidayIndex != CHOL_HAMOED_PESACH))
+ if ((isErevYomTov() && ! ( holidayIndex == HOSHANA_RABBA || holidayIndex == CHOL_HAMOED_PESACH))
802
|| (isTaanis() && holidayIndex != YOM_KIPPUR) || holidayIndex == ISRU_CHAG) {
803
return false;
804
}
0 commit comments