Closed XaviTorello closed 8 years ago
Done! See 4768120e7e85b4e81ff15b0ed8d21a9b35d748e3
In [30]: a.holidays(2015) Out[30]: [(datetime.date(2015, 1, 1), 'New year'), (datetime.date(2015, 8, 15), 'Assumption of Mary to Heaven'), (datetime.date(2015, 10, 12), 'National Day'), (datetime.date(2015, 11, 1), 'All Saints Day'), (datetime.date(2015, 12, 6), 'Constitution Day'), (datetime.date(2015, 12, 8), 'Immaculate Conception')]
In [31]: a.holidays(2016) Out[31]: [(datetime.date(2016, 1, 1), 'New year'), (datetime.date(2016, 8, 15), 'Assumption of Mary to Heaven'), (datetime.date(2016, 10, 12), 'National Day'), (datetime.date(2016, 11, 1), 'All Saints Day'), (datetime.date(2016, 12, 6), 'Constitution Day'), (datetime.date(2016, 12, 8), 'Immaculate Conception')]
In [32]: a.holidays(2017) Out[32]: [(datetime.date(2017, 1, 1), 'New year'), (datetime.date(2017, 8, 15), 'Assumption of Mary to Heaven'), (datetime.date(2017, 10, 12), 'National Day'), (datetime.date(2017, 11, 1), 'All Saints Day'), (datetime.date(2017, 12, 6), 'Constitution Day'), (datetime.date(2017, 12, 8), 'Immaculate Conception')]
As agreed on #4:
REE Holidays
thxs @tinogis