-
Notifications
You must be signed in to change notification settings - Fork 136
/
at.yaml
116 lines (115 loc) · 2.31 KB
/
at.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Austrian holiday definitions for the Ruby Holiday gem.
#
# Updated: 2011-08-31 by VGSG
# Sources:
# - http://de.wikipedia.org/wiki/Feiertage_in_%C3%96sterreich
# - http://www.timeanddate.com/calendar/index.html?country=8
# - http://www.germany.info/relaunch/welcome/travel/holidays.html
---
months:
0:
- name: Ostermontag
regions: [at]
function: easter(year)
function_modifier: 1
- name: Christi Himmelfahrt
regions: [at]
function: easter(year)
function_modifier: 39
- name: Pfingstmontag
regions: [at]
function: easter(year)
function_modifier: 50
- name: Fronleichnam
regions: [at]
function: easter(year)
function_modifier: 60
1:
- name: Neujahrstag
regions: [at]
mday: 1
- name: Heilige Drei Könige
regions: [at]
mday: 6
5:
- name: Staatsfeiertag
regions: [at]
mday: 1
8:
- name: Mariä Himmelfahrt
regions: [at]
mday: 15
10:
- name: Nationalfeiertag
regions: [at]
mday: 26
11:
- name: Allerheiligen
regions: [at]
mday: 1
12:
- name: Mariä Empfängnis
regions: [at]
mday: 8
- name: 1. Weihnachtstag
regions: [at]
mday: 25
- name: 2. Weihnachtstag
regions: [at]
mday: 26
tests:
- given:
date: '2009-01-01'
regions: ['at']
options: 'informal'
expect:
name: 'Neujahrstag'
- given:
date: '2009-04-13'
regions: ['at']
expect:
name: 'Ostermontag'
- given:
date: '2009-05-21'
regions: ['at']
expect:
name: 'Christi Himmelfahrt'
- given:
date: '2009-06-01'
regions: ['at']
expect:
name: 'Pfingstmontag'
- given:
date: '2009-10-26'
regions: ['at']
options: 'informal'
expect:
name: 'Nationalfeiertag'
- given:
date: '2009-12-08'
regions: ['at']
options: 'informal'
expect:
name: 'Mariä Empfängnis'
- given:
date: '2009-12-25'
regions: ['at']
options: 'informal'
expect:
name: '1. Weihnachtstag'
- given:
date: '2009-12-26'
regions: ['at']
options: 'informal'
expect:
name: '2. Weihnachtstag'
- given:
date: '2010-05-08'
regions: ['at']
expect:
holiday: false
- given:
date: '2017-06-15'
regions: ['at']
expect:
name: "Fronleichnam"