java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.hebrew.YomHazikaron
Observance of Yom Hazikaron — Israeli Memorial Day (4 Iyar).
Yom Hazikaron always falls on the day immediately before the observed
Yom Ha'atzmaut. The two days are coupled by the Memorial Day and Independence
Day Law (1963): when Independence Day shifts to avoid Shabbat, Memorial Day
shifts with it by exactly one day. This observance derives the date from
IndependenceDay rather than replicating the shift logic.
- Author:
- Dave Joyce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalDatecomputeDate(int year) Compute the date for this observance in the given year.Methods inherited from class org.holiday.calendar.observance.AbstractObservance
apply, isValidYear, test
-
Constructor Details
-
YomHazikaron
public YomHazikaron()
-
-
Method Details
-
computeDate
Description copied from class:AbstractObservanceCompute the date for this observance in the given year. Only called whenAbstractObservance.isValidYear(int)returnstrue.- Specified by:
computeDatein classAbstractObservance- Parameters:
year- the year for which to compute the date- Returns:
- computed holiday date
-