Skip to content

Commit

Permalink
United Kingdom - Fix Early May Bank Holiday 1995 (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager authored Sep 2, 2024
1 parent a02f497 commit c732017
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/Nager.Date/HolidayProviders/UnitedKingdomHolidayProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,21 @@ private HolidaySpecification EarlyMayBankHoliday(int year)
{
var holidayName = "Early May Bank Holiday";

if (year == 2020)
if (year == 1995)
{
//https://www.bbc.co.uk/news/uk-48565417
// Shifted to mark the 50th anniversary of VE Day
return new HolidaySpecification
{
Date = new DateTime(year, 5, 8),
EnglishName = holidayName,
LocalName = holidayName,
HolidayTypes = HolidayTypes.Public
};
}
else if (year == 2020)
{
// Shifted to mark the 75th anniversary of VE Day
// https://www.bbc.co.uk/news/uk-48565417
var secondFridayInMay = DateHelper.FindDay(year, Month.May, DayOfWeek.Friday, Occurrence.Second);

return new HolidaySpecification
Expand Down

0 comments on commit c732017

Please sign in to comment.