com.ibm.icu.util

Class EasterHoliday

public class EasterHoliday extends Holiday

A Holiday subclass which represents holidays that occur a fixed number of days before or after Easter. Supports both the Western and Orthodox methods for calculating Easter.

UNKNOWN: ICU 2.8 (retainAll) This API might change or be removed in a future release.

Field Summary
static EasterHolidayASCENSION
Ascension, 39 days after Easter
static EasterHolidayASH_WEDNESDAY
Ash Wednesday, start of Lent, 47 days before Easter
static EasterHolidayCORPUS_CHRISTI
Corpus Christi, 60 days after Easter
static EasterHolidayEASTER_MONDAY
Easter Monday, 1 day after Easter
static EasterHolidayEASTER_SUNDAY
Easter Sunday
static EasterHolidayGOOD_FRIDAY
Good Friday, 2 days before Easter
static EasterHolidayMAUNDY_THURSDAY
Maundy Thursday, 3 days before Easter
static EasterHolidayPALM_SUNDAY
Palm Sunday, 7 days before Easter
static EasterHolidayPENTECOST
Pentecost (aka Whit Sunday), 49 days after Easter
static EasterHolidaySHROVE_TUESDAY
Shrove Tuesday, aka Mardi Gras, 48 days before Easter
static EasterHolidayWHIT_MONDAY
Whit Monday, 50 days after Easter
static EasterHolidayWHIT_SUNDAY
Whit Sunday (aka Pentecost), 49 days after Easter
Constructor Summary
EasterHoliday(String name)
Construct a holiday that falls on Easter Sunday every year
EasterHoliday(int daysAfter, String name)
Construct a holiday that falls a specified number of days before or after Easter Sunday each year.
EasterHoliday(int daysAfter, boolean orthodox, String name)
Construct a holiday that falls a specified number of days before or after Easter Sunday each year, using either the Western or Orthodox calendar.

Field Detail

ASCENSION

public static final EasterHoliday ASCENSION
Ascension, 39 days after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

ASH_WEDNESDAY

public static final EasterHoliday ASH_WEDNESDAY
Ash Wednesday, start of Lent, 47 days before Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

CORPUS_CHRISTI

public static final EasterHoliday CORPUS_CHRISTI
Corpus Christi, 60 days after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

EASTER_MONDAY

public static final EasterHoliday EASTER_MONDAY
Easter Monday, 1 day after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

EASTER_SUNDAY

public static final EasterHoliday EASTER_SUNDAY
Easter Sunday

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

GOOD_FRIDAY

public static final EasterHoliday GOOD_FRIDAY
Good Friday, 2 days before Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

MAUNDY_THURSDAY

public static final EasterHoliday MAUNDY_THURSDAY
Maundy Thursday, 3 days before Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

PALM_SUNDAY

public static final EasterHoliday PALM_SUNDAY
Palm Sunday, 7 days before Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

PENTECOST

public static final EasterHoliday PENTECOST
Pentecost (aka Whit Sunday), 49 days after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

SHROVE_TUESDAY

public static final EasterHoliday SHROVE_TUESDAY
Shrove Tuesday, aka Mardi Gras, 48 days before Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

WHIT_MONDAY

public static final EasterHoliday WHIT_MONDAY
Whit Monday, 50 days after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

WHIT_SUNDAY

public static final EasterHoliday WHIT_SUNDAY
Whit Sunday (aka Pentecost), 49 days after Easter

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

Constructor Detail

EasterHoliday

public EasterHoliday(String name)
Construct a holiday that falls on Easter Sunday every year

Parameters: name The name of the holiday

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

EasterHoliday

public EasterHoliday(int daysAfter, String name)
Construct a holiday that falls a specified number of days before or after Easter Sunday each year.

Parameters: daysAfter The number of days before (-) or after (+) Easter name The name of the holiday

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

EasterHoliday

public EasterHoliday(int daysAfter, boolean orthodox, String name)
Construct a holiday that falls a specified number of days before or after Easter Sunday each year, using either the Western or Orthodox calendar.

Parameters: daysAfter The number of days before (-) or after (+) Easter orthodox Use the Orthodox calendar? name The name of the holiday

UNKNOWN: ICU 2.8 This API might change or be removed in a future release.

Copyright (c) 2006 IBM Corporation and others.