File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/kosherjava/zmanim/hebrewcalendar Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* Zmanim Java API
3
- * Copyright (C) 2011 - 2022 Eliyahu Hershfeld
3
+ * Copyright (C) 2011 - 2023 Eliyahu Hershfeld
4
4
* Copyright (C) September 2002 Avrom Finkelstien
5
5
* Copyright (C) 2019 - 2022 Y Paritcher
6
6
*
42
42
* @see java.util.Calendar
43
43
* @author © Y. Paritcher 2019 - 2022
44
44
* @author © Avrom Finkelstien 2002
45
- * @author © Eliyahu Hershfeld 2011 - 2022
45
+ * @author © Eliyahu Hershfeld 2011 - 2023
46
46
*/
47
47
public class JewishCalendar extends JewishDate {
48
48
/** The 14th day of Nissan, the day before of Pesach (Passover).*/
@@ -771,7 +771,7 @@ public int getYomTovIndex() {
771
771
*/
772
772
public boolean isYomTov () {
773
773
int holidayIndex = getYomTovIndex ();
774
- if ((isErevYomTov () && (holidayIndex != HOSHANA_RABBA && (holidayIndex == CHOL_HAMOED_PESACH && getJewishDayOfMonth () != 20 )))
774
+ if ((isErevYomTov () && (holidayIndex != HOSHANA_RABBA || (holidayIndex == CHOL_HAMOED_PESACH && getJewishDayOfMonth () != 20 )))
775
775
|| (isTaanis () && holidayIndex != YOM_KIPPUR ) || holidayIndex == ISRU_CHAG ) {
776
776
return false ;
777
777
}
You can’t perform that action at this time.
0 commit comments