holidays/data/za.yaml

65 lines
1.3 KiB
YAML
Raw Normal View History

2007-11-23 02:01:11 +01:00
# South African holiday definitions for the Ruby Holiday gem.
#
2007-11-30 01:49:33 +01:00
# Updated: 2008-11-29.
2007-11-23 02:01:11 +01:00
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_South_Africa
# - http://www.info.gov.za/aboutsa/holidays.htm
---
months:
0:
- name: Good Friday
regions: [za]
function: easter(year)-2
2007-11-23 02:01:11 +01:00
- name: Family Day
regions: [za]
function: easter(year)+1
2007-11-23 02:01:11 +01:00
1:
- name: New Year's Day
regions: [za]
mday: 1
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
3:
- name: Human Rights Day
regions: [za]
mday: 21
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
4:
- name: Freedom Day
regions: [za]
mday: 27
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
5:
2007-11-30 01:49:33 +01:00
- name: Workers Day
2007-11-23 02:01:11 +01:00
regions: [za]
mday: 1
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
6:
- name: Youth Day
regions: [za]
mday: 16
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
8:
- name: National Women's Day
regions: [za]
mday: 9
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
9:
- name: Heritage Day
regions: [za]
mday: 24
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
12:
- name: Day of Reconciliation
regions: [za]
mday: 16
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
- name: Christmas Day
regions: [za]
mday: 25
2007-11-30 01:49:33 +01:00
observed: to_monday_if_sunday
2007-11-23 02:01:11 +01:00
- name: Day of Goodwill
regions: [za]
mday: 26
2007-11-30 01:49:33 +01:00
observed: to_weekday_if_boxing_weekend
2007-11-23 02:01:11 +01:00