|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.icu.util.Holiday com.ibm.icu.util.EasterHoliday
public class EasterHoliday
Note: The Holiday framework is a technology preview. Despite its age, is still draft API, and clients should treat it as such. 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.
Field Summary | |
---|---|
static EasterHoliday |
ASCENSION
Ascension, 39 days after Easter |
static EasterHoliday |
ASH_WEDNESDAY
Ash Wednesday, start of Lent, 47 days before Easter |
static EasterHoliday |
CORPUS_CHRISTI
Corpus Christi, 60 days after Easter |
static EasterHoliday |
EASTER_MONDAY
Easter Monday, 1 day after Easter |
static EasterHoliday |
EASTER_SUNDAY
Easter Sunday |
static EasterHoliday |
GOOD_FRIDAY
Good Friday, 2 days before Easter |
static EasterHoliday |
MAUNDY_THURSDAY
Maundy Thursday, 3 days before Easter |
static EasterHoliday |
PALM_SUNDAY
Palm Sunday, 7 days before Easter |
static EasterHoliday |
PENTECOST
Pentecost (aka Whit Sunday), 49 days after Easter |
static EasterHoliday |
SHROVE_TUESDAY
Shrove Tuesday, aka Mardi Gras, 48 days before Easter |
static EasterHoliday |
WHIT_MONDAY
Whit Monday, 50 days after Easter |
static EasterHoliday |
WHIT_SUNDAY
Whit Sunday (aka Pentecost), 49 days after Easter |
Constructor Summary | |
---|---|
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. |
|
EasterHoliday(int daysAfter,
String name)
Construct a holiday that falls a specified number of days before or after Easter Sunday each year. |
|
EasterHoliday(String name)
Construct a holiday that falls on Easter Sunday every year |
Method Summary |
---|
Methods inherited from class com.ibm.icu.util.Holiday |
---|
firstAfter, firstBetween, getDisplayName, getDisplayName, getDisplayName, getHolidays, getHolidays, getHolidays, getRule, isBetween, isOn, setRule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EasterHoliday SHROVE_TUESDAY
public static final EasterHoliday ASH_WEDNESDAY
public static final EasterHoliday PALM_SUNDAY
public static final EasterHoliday MAUNDY_THURSDAY
public static final EasterHoliday GOOD_FRIDAY
public static final EasterHoliday EASTER_SUNDAY
public static final EasterHoliday EASTER_MONDAY
public static final EasterHoliday ASCENSION
public static final EasterHoliday PENTECOST
public static final EasterHoliday WHIT_SUNDAY
public static final EasterHoliday WHIT_MONDAY
public static final EasterHoliday CORPUS_CHRISTI
Constructor Detail |
---|
public EasterHoliday(String name)
name
- The name of the holidaypublic EasterHoliday(int daysAfter, String name)
daysAfter
- The number of days before (-) or after (+) Eastername
- The name of the holidaypublic EasterHoliday(int daysAfter, boolean orthodox, String name)
daysAfter
- The number of days before (-) or after (+) Easterorthodox
- Use the Orthodox calendar?name
- The name of the holiday
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |