java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.CompositeObservance
org.holiday.calendar.observance.eg.ShamElNessim
Observance of Sham El-Nessim (شم النسيم), the Egyptian spring festival.
Sham El-Nessim is celebrated on the day after Coptic Easter (Monday after
Coptic Easter Sunday). The Coptic Orthodox Church uses the same Julian-calendar
Easter algorithm as the Eastern Orthodox churches, implemented here via
OrthodoxEaster.
Sham El-Nessim is an ancient Egyptian public holiday predating both Christianity and Islam. It is observed as a national public holiday in Egypt by all Egyptians regardless of religion and is a bank and exchange closure day.
- Author:
- Dave Joyce
-
Field Summary
Fields inherited from class org.holiday.calendar.observance.CompositeObservance
base -
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.CompositeObservance
isValidYearMethods inherited from class org.holiday.calendar.observance.AbstractObservance
apply, test
-
Constructor Details
-
ShamElNessim
public ShamElNessim()
-
-
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
-