--  Source: https://www.gov.uk/bank-holidays
--
--  England and Wales
--
update calendar
set public_holiday_england_and_wales = 'N'
where year = 2019;

update calendar
set public_holiday_england_and_wales = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2019',  -- New Year's Day
        '19-Apr-2019',  -- Good Friday
        '22-Apr-2019',  -- Easter Monday
        '06-May-2019',  -- Early May Bank Holiday
        '27-May-2019',  -- Spring Bank Holiday
        '26-Aug-2019',  -- Summer Bank Holiday
        '25-Dec-2019',  -- Christmas Day
        '26-Dec-2019'   -- Boxing Day
    );
--
--
--  Scotland
--
update calendar
set public_holiday_scotland = 'N'
where year = 2019;

update calendar
set public_holiday_scotland = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2019',  -- New Year's Day
        '02-Jan-2019',  -- 2nd January
        '19-Apr-2019',  -- Good Friday
        '06-May-2019',  -- Early May Bank Holiday
        '27-May-2019',  -- Spring Bank Holiday
        '05-Aug-2019',  -- Summer Bank Holiday
        '02-Dec-2019',  -- St Andrew's Day (substitute day)
        '25-Dec-2019',  -- Christmas Day
        '26-Dec-2019'   -- Boxing Day
    );
--
--
--  Northern Ireland 
--
update calendar
set public_holiday_northern_ireland = 'N'
where year = 2019;

update calendar
set public_holiday_northern_ireland = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2019',  -- New Year's Day 
        '18-Mar-2019',  -- St Patrick’s Day (substitute day)
        '19-Apr-2019',  -- Good Friday
        '22-Apr-2019',  -- Easter Monday
        '06-May-2019',  -- Early May Bank Holiday
        '27-May-2019',  -- Spring Bank Holiday
        '12-Jul-2019',  -- Battle of the Boyne (Orangemen’s Day)
        '26-Aug-2019',  -- Summer Bank Holiday
        '25-Dec-2019',  -- Christmas Day
        '26-Dec-2019'   -- Boxing Day
    );
