Skip to content

Commit

Permalink
actually implement shmita code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ely committed Jan 17, 2024
1 parent bd6f21b commit 3e0619c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1609,8 +1609,7 @@ public boolean isIsruChag() {
* @return true if the current year is a <em>Shmikta</em> (Jubilee) year.
*/
public boolean isShmitaYear() {
int holidayIndex = getYomTovIndex();
return holidayIndex == ISRU_CHAG;
return getJewishYear() % 7 == 0;
}

/**
Expand Down

0 comments on commit 3e0619c

Please sign in to comment.