30 {
31 Weekday w = date.weekday();
32 Day d = date.dayOfMonth();
33 Month m = date.month();
34 if (isWeekend(w)
35
36 || ((d == 1 && m == January) || (d == 31 && m == December && w == Friday) ||
37 (d == 2 && m == January && w == Monday))
38
39 || ((d == 1 || ((d == 2 || d == 3) && w == Monday)) && m == February)
40
41 || ((d == 1 || (d == 2 && w == Monday)) && m == May)
42
43 || ((d == 31 && m == August) || (d == 1 && w == Monday && m == September))
44
45 || ((d == 16 || (d == 17 && w == Monday)) && m == September)
46
47 || ((d == 25 || (d == 26 && w == Monday)) && m == December))
48 return false;
49 return true;
50}