Skip to content

Commit 9addb90

Browse files
authored
Australia - Add Monarch Birthday for Western Australia (#686)
* Australia - Add Monarch Birthday for WA * Australia - Add Monarch Birthday for Western Australia
1 parent a96d816 commit 9addb90

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Nager.Date/HolidayProviders/AustraliaHolidayProvider.cs

+10
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,9 @@ private HolidaySpecification[] MonarchBirthday(int year)
267267
}
268268

269269
var secondMondayInJune = DateHelper.FindDay(year, Month.June, DayOfWeek.Monday, Occurrence.Second);
270+
var fourthMondayInSeptember = DateHelper.FindDay(year, Month.September, DayOfWeek.Monday, Occurrence.Fourth);
270271
var firstMondayInOctober = DateHelper.FindDay(year, Month.October, DayOfWeek.Monday, Occurrence.First);
272+
271273

272274
return
273275
[
@@ -280,6 +282,14 @@ private HolidaySpecification[] MonarchBirthday(int year)
280282
SubdivisionCodes = ["AU-ACT", "AU-NSW", "AU-NT", "AU-SA", "AU-TAS", "AU-VIC"]
281283
},
282284
new HolidaySpecification
285+
{
286+
Date = fourthMondayInSeptember,
287+
EnglishName = name,
288+
LocalName = name,
289+
HolidayTypes = HolidayTypes.Public,
290+
SubdivisionCodes = ["AU-WA"]
291+
},
292+
new HolidaySpecification
283293
{
284294
Date = firstMondayInOctober,
285295
EnglishName = name,

0 commit comments

Comments
 (0)