diff --git a/src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishCalendar.java b/src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishCalendar.java index 3e37cea7..05d4cae4 100644 --- a/src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishCalendar.java +++ b/src/main/java/com/kosherjava/zmanim/hebrewcalendar/JewishCalendar.java @@ -1601,6 +1601,17 @@ public boolean isIsruChag() { return holidayIndex == ISRU_CHAG; } + /** + * Returns true if the current year is a Shmita (Jubilee) year. The method returns true for years that are + * divisible by 7. However, Rashi and other rishonim hold that the year before what this method returns true for is + * the actual year of Shmita. + * + * @return true if the current year is a Shmikta (Jubilee) year. + */ + public boolean isShmitaYear() { + return getJewishYear() % 7 == 0; + } + /** * Indicates whether some other object is "equal to" this one. * @see Object#equals(Object)