31 {
32 Weekday w = date.weekday();
33 Day d = date.dayOfMonth(), dd = date.dayOfYear();
34 Month m = date.month();
35 Year y = date.year();
36 Day em = easterMonday(y);
37
38 if (isWeekend(w)
39
40 || (d == 1 && m == January)
41
42 || (d == 6 && m == January)
43
44 || (dd == em-49)
45
46 || (dd == em-3)
47
48 || (dd == em)
49
50 || (dd == em+1)
51
52 || (m == Mar && d == 25)
53
54 || (m == Apr && d == 1)
55
56 || (m == May && d == 1)
57
58 || (dd == em+49)
59
60 || (m == August && d == 15)
61
62 || (m == October && d == 1)
63
64 || (m == October && d == 28)
65
66 || (m == December && d == 25)
67
68 || (m == December && d == 26))
69 return false;
70 return true;
71 }