b6968ccdb3
Tests for ZA and AU
81 lines
1.7 KiB
YAML
81 lines
1.7 KiB
YAML
# Australian holiday definitions for the Ruby Holiday gem.
|
|
# Updated: 2008-11-29.
|
|
# Sources:
|
|
# - http://en.wikipedia.org/wiki/Australian_public_holidays
|
|
# - http://www.docep.wa.gov.au/lr/LabourRelations/Content/Wages%20and%20Conditions/Public%20Holidays/Public_Holidays.html
|
|
# - http://www.wst.tas.gov.au/employment_info/public_holidays
|
|
# TODO: missing some regional holidays
|
|
---
|
|
months:
|
|
0:
|
|
- name: Good Friday
|
|
regions: [au]
|
|
function: easter(year)-2
|
|
- name: Easter Saturday
|
|
regions: [au]
|
|
function: easter(year)-1
|
|
- name: Easter Monday
|
|
regions: [au]
|
|
function: easter(year)+1
|
|
- name: Easter Monday
|
|
regions: [au_tas]
|
|
function: easter(year)+2
|
|
1:
|
|
- name: New Year's Day
|
|
regions: [au]
|
|
mday: 1
|
|
- name: Australia Day
|
|
regions: [au]
|
|
mday: 26
|
|
3:
|
|
- name: Labour Day
|
|
regions: [au_wa]
|
|
week: 1
|
|
wday: 1
|
|
- name: Eight Hours Day
|
|
regions: [au_tas]
|
|
week: 2
|
|
wday: 1
|
|
- name: Labour Day
|
|
regions: [au_vic]
|
|
week: 2
|
|
wday: 1
|
|
4:
|
|
- name: ANZAC Day
|
|
regions: [au]
|
|
mday: 25
|
|
5:
|
|
- name: Labour Day
|
|
regions: [au_qld]
|
|
week: 1
|
|
wday: 1
|
|
- name: May Day
|
|
regions: [au_nt]
|
|
week: 1
|
|
wday: 1
|
|
6:
|
|
- name: Foundation Day
|
|
regions: [au_wa]
|
|
week: 1
|
|
wday: 1
|
|
- name: Queen's Birthday
|
|
regions: [au_act, au_nsw, au_sa, au_tas, au_nt, au_qld, au_vic]
|
|
week: 2
|
|
wday: 1
|
|
- name: Queensland Day
|
|
regions: [au_qld]
|
|
mday: 6
|
|
type: informal
|
|
10:
|
|
- name: Labour Day
|
|
regions: [au_act, au_nsw, au_sa]
|
|
week: 1
|
|
wday: 1
|
|
12:
|
|
- name: Christmas Day
|
|
regions: [au]
|
|
mday: 25
|
|
- name: Boxing Day
|
|
regions: [au]
|
|
mday: 26
|