class Utilities {

    @Deprecated
    public static Day julianEaster(int year, boolean gregorian) {
        int a = year % 19;
        int b = year % 4;
        int c = year % 7;
        int d = (19 * a + 15) % 30;
        int e = (2 * b + 4 * c + 6 * d + 6) % 7;
        int z = 4 + d + e;
        int month, day;
        int de = d + e;
        if (de < 10) {
            month = 3;
            day = 22 + de;
        } else {
            month = 4;
            day = de - 9;
        }
        Day easter = new Day(year, Month.valueOf(month - 1), day - 1);
        if (gregorian) {
            return easter.plus(13);
        } else {
            return easter;
        }
    }

}