Java Utililty Methods Easter

List of utility methods to do Easter

Description

The list of methods to do Easter are organized into topic(s).

Method

DatecalculateEasterDay(int year)
Calculates the easter day of given year.
int a = year % 19;
int b = year % 4;
int c = year % 7;
int month = 0;
int m = (8 * (year / 100) + 13) / 25 - 2;
int s = year / 100 - year / 400 - 2;
m = (15 + s - m) % 30;
int n = (6 + s) % 7;
...
DategetEasterDay(int year)
get Easter Day
int a = year % 19;
int b = year / 100;
int c = year % 100;
int d = b / 4;
int e = b % 4;
int f = (b + 8) / 25;
int g = (b - f + 1) / 3;
int h = ((19 * a) + b - d - g + 15) % 30;
...
CalendargetSundayOfEaster(final int year)
get Sunday Of Easter
int a = year % 19;
int b = year / 100;
int c = year % 100;
int d = b / 4;
int e = b % 4;
int g = (8 * b + 13) / 25;
int h = (19 * a + b - d - g + 15) % 30;
int j = c / 4;
...