public static Date computeEasternSunday ( final int year ) { final int easternSundayNumber = computeEasternSundayNumber ( year ) ; final int month = easternSundayNumber / 31 ; final int day = easternSundayNumber % 31 + 1 ; return CreateDateExtensions . newDate ( year , month - 1 , day ) ; }
Computes the eastern sunday for the given year . Year should be greater than 1583 .