1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
from datetime import date
from ..core import WesternCalendar
from ..registry_tools import iso_register
@iso_register('LU')
class Luxembourg(WesternCalendar):
'Luxembourg'
# Christian holidays
include_easter_monday = True
include_ascension = True
include_whit_monday = True
include_all_saints = True
include_assumption = True
include_boxing_day = True
# Civil holidays
include_labour_day = True
FIXED_HOLIDAYS = WesternCalendar.FIXED_HOLIDAYS + (
(6, 23, "Luxembourg National Holiday"),
)
def get_fixed_holidays(self, year):
days = super().get_fixed_holidays(year)
if year > 2018:
days.append((date(year, 5, 9), "Europe Day"))
return days
|