Skip to content

Commit

Permalink
Saints Day Peter and Paul added
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-daniel committed Feb 28, 2024
1 parent 18353e4 commit 0490ac1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/DateTimeExtensions/WorkingDays/ChristianHolidays.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;

Expand Down Expand Up @@ -318,5 +319,19 @@ public static Holiday StStephansDay
return stStephensDay;
}
}

private static Holiday stsPeterAndPaul;

public static Holiday StsPeterAndPaul
{
get
{
if(StsPeterAndPaul == null)
{
stsPeterAndPaul = new FixedHoliday("StsPeterAndPaul", 6, 29);
}
return stsPeterAndPaul;
}
}
}
}

0 comments on commit 0490ac1

Please sign in to comment.