Skip to content

Instantly share code, notes, and snippets.

@chokosabe
chokosabe / uk_holidays.py
Last active December 14, 2015 03:48 — forked from sebzur/polish_holidays.py
Copied over from polish_holidays.py
import calendar
from datetime import date, timedelta
from dateutil import easter
from dateutil.relativedelta import *
def get_holidays(year):
"""
Returns UK hollidays dates (legally considered non-working days)
Take a year argument, i.e year=2010
"""