public static int computeEasternSundayNumber ( final int year ) { final int i = year % 19 ; final int j = year / 100 ; final int k = year % 100 ; final int l = ( 19 * i + j - j / 4 - ( j - ( j + 8 ) / 25 + 1 ) / 3 + 15 ) % 30 ; final int m = ( 32 + 2 * ( j % 4 ) + 2 * ( k / 4 ) - l - k % 4 ) % 7 ; return ( l + m - 7 * ( ( i + 11 * l + 22 * m ) / 451 ) + 114 ) ; }
Computes the number from eastern sunday for the given year . Year should be greater the 1583 .