Skip to content

Commit

Permalink
feat: added Mothers day to au
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewestwood committed Dec 16, 2021
1 parent 4dc3768 commit 8a039da
Show file tree
Hide file tree
Showing 100 changed files with 894 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/countries/AU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ holidays:
12-26 and if saturday then next monday if sunday then next tuesday:
substitute: true
_name: 12-26
2nd sunday in May:
_name: Mothers Day
type: observance
states:
# @source https://www.legislation.act.gov.au/a/1958-19
ACT:
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sat"
},
{
"date": "2015-05-10 00:00:00",
"start": "2015-05-09T14:00:00.000Z",
"end": "2015-05-10T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2015-12-25 00:00:00",
"start": "2015-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Mon"
},
{
"date": "2016-05-08 00:00:00",
"start": "2016-05-07T14:00:00.000Z",
"end": "2016-05-08T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2016-12-25 00:00:00",
"start": "2016-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Tue"
},
{
"date": "2017-05-14 00:00:00",
"start": "2017-05-13T14:00:00.000Z",
"end": "2017-05-14T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2017-12-25 00:00:00",
"start": "2017-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Wed"
},
{
"date": "2018-05-13 00:00:00",
"start": "2018-05-12T14:00:00.000Z",
"end": "2018-05-13T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2018-12-25 00:00:00",
"start": "2018-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Thu"
},
{
"date": "2019-05-12 00:00:00",
"start": "2019-05-11T14:00:00.000Z",
"end": "2019-05-12T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2019-12-25 00:00:00",
"start": "2019-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sat"
},
{
"date": "2020-05-10 00:00:00",
"start": "2020-05-09T14:00:00.000Z",
"end": "2020-05-10T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2020-12-25 00:00:00",
"start": "2020-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sun"
},
{
"date": "2021-05-09 00:00:00",
"start": "2021-05-08T14:00:00.000Z",
"end": "2021-05-09T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2021-12-25 00:00:00",
"start": "2021-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Mon"
},
{
"date": "2022-05-08 00:00:00",
"start": "2022-05-07T14:00:00.000Z",
"end": "2022-05-08T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2022-12-25 00:00:00",
"start": "2022-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Tue"
},
{
"date": "2023-05-14 00:00:00",
"start": "2023-05-13T14:00:00.000Z",
"end": "2023-05-14T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2023-12-25 00:00:00",
"start": "2023-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Thu"
},
{
"date": "2024-05-12 00:00:00",
"start": "2024-05-11T14:00:00.000Z",
"end": "2024-05-12T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2024-12-25 00:00:00",
"start": "2024-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Fri"
},
{
"date": "2025-05-11 00:00:00",
"start": "2025-05-10T14:00:00.000Z",
"end": "2025-05-11T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2025-12-25 00:00:00",
"start": "2025-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Sat"
},
{
"date": "2015-05-10 00:00:00",
"start": "2015-05-09T14:00:00.000Z",
"end": "2015-05-10T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2015-06-01 00:00:00",
"start": "2015-05-31T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Mon"
},
{
"date": "2016-05-08 00:00:00",
"start": "2016-05-07T14:00:00.000Z",
"end": "2016-05-08T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2016-05-30 00:00:00",
"start": "2016-05-29T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Tue"
},
{
"date": "2017-05-14 00:00:00",
"start": "2017-05-13T14:00:00.000Z",
"end": "2017-05-14T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2017-05-29 00:00:00",
"start": "2017-05-28T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Wed"
},
{
"date": "2018-05-13 00:00:00",
"start": "2018-05-12T14:00:00.000Z",
"end": "2018-05-13T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2018-05-28 00:00:00",
"start": "2018-05-27T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Thu"
},
{
"date": "2019-05-12 00:00:00",
"start": "2019-05-11T14:00:00.000Z",
"end": "2019-05-12T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2019-05-27 00:00:00",
"start": "2019-05-26T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@
"rule": "2020-04-27",
"_weekday": "Mon"
},
{
"date": "2020-05-10 00:00:00",
"start": "2020-05-09T14:00:00.000Z",
"end": "2020-05-10T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2020-06-01 00:00:00",
"start": "2020-05-31T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Mon"
},
{
"date": "2021-05-09 00:00:00",
"start": "2021-05-08T14:00:00.000Z",
"end": "2021-05-09T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2021-05-31 00:00:00",
"start": "2021-05-30T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Mon"
},
{
"date": "2022-05-08 00:00:00",
"start": "2022-05-07T14:00:00.000Z",
"end": "2022-05-08T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2022-05-30 00:00:00",
"start": "2022-05-29T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Tue"
},
{
"date": "2023-05-14 00:00:00",
"start": "2023-05-13T14:00:00.000Z",
"end": "2023-05-14T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2023-05-29 00:00:00",
"start": "2023-05-28T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Thu"
},
{
"date": "2024-05-12 00:00:00",
"start": "2024-05-11T14:00:00.000Z",
"end": "2024-05-12T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2024-05-27 00:00:00",
"start": "2024-05-26T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25 if sunday then next monday",
"_weekday": "Fri"
},
{
"date": "2025-05-11 00:00:00",
"start": "2025-05-10T14:00:00.000Z",
"end": "2025-05-11T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2025-06-02 00:00:00",
"start": "2025-06-01T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-NSW-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sat"
},
{
"date": "2015-05-10 00:00:00",
"start": "2015-05-09T14:00:00.000Z",
"end": "2015-05-10T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2015-06-08 00:00:00",
"start": "2015-06-07T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-NSW-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Mon"
},
{
"date": "2016-05-08 00:00:00",
"start": "2016-05-07T14:00:00.000Z",
"end": "2016-05-08T14:00:00.000Z",
"name": "Mother's Day",
"type": "observance",
"rule": "2nd sunday in May",
"_weekday": "Sun"
},
{
"date": "2016-06-13 00:00:00",
"start": "2016-06-12T14:00:00.000Z",
Expand Down
Loading

0 comments on commit 8a039da

Please sign in to comment.