| Enum Constant and Description |
|---|
EASTERN
Applies the Julian calendar and is used by Orthodox church in East Europe.
|
WESTERN
Applies the Julian/Gregorian calendar and is used by catholic and protestantic churches.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
easterSunday(int annoDomini)
Calculates the date of Easter Sunday.
|
static Computus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Computus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Computus WESTERN
Applies the Julian/Gregorian calendar and is used by catholic and protestantic churches.
public static final Computus EASTERN
Applies the Julian calendar and is used by Orthodox church in East Europe.
public static Computus[] values()
for (Computus c : Computus.values()) System.out.println(c);
public static Computus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic PlainDate easterSunday(int annoDomini)
Calculates the date of Easter Sunday.
annoDomini - calendar year related to era ADjava.lang.IllegalArgumentException - if given year is before AD 532 (the first table from Beda Venerabilis)