25 static QuantLib::ext::shared_ptr<Calendar::Impl> impl(
new Peru::LseImpl);
30 Weekday w = date.weekday();
31 Day d = date.dayOfMonth(), dd = date.dayOfYear();
32 Month m = date.month();
34 Day em = easterMonday(y);
37 || (d == 1 && m == January)
39 || (d == 2 && w == Friday && m == January)
45 || (d == 1 && m == May)
47 || (d == 29 && m == June)
49 || ((d == 28 || (d == 27 && w == Friday) || (d == 29 && w == Monday)) && m == July)
51 || (d == 29 && w == Friday && m == July)
53 || (d == 30 && m == August)
55 || (d == 31 && w == Friday && m == August)
57 || (d == 8 && m == October)
59 || (d == 1 && m == November)
61 || (d == 2 && w == Friday && m == November)
63 || (d == 8 && m == December)
65 || (d == 25 && m == December))
bool isBusinessDay(const Date &) const override