This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
switzerland.js
181 lines (178 loc) · 4.6 KB
/
switzerland.js
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
//! moment-holiday.js locale configuration
//! locale : Switzerland
//! author : Kodie Grantham : https://github.com/kodie
/* regions :
AG : Aargau
AI : Appenzell Innerrhoden
AR : Appenzell Ausserrhoden
BE : Bern
BL : Basel-Landschaft
BS : Basel-Stadt
FR : Freiburg
GE : Genf
GL : Glarus
GR : Graubünden
JU : Jura
LU : Luzern
NE : Neuenburg
NW : Nidwalden
OW : Obwalden
SG : St. Gallen
SH : Schaffhausen
SO : Solothurn
SZ : Schwyz
TG : Thurgau
TI : Tessin
UR : Uri
VD : Waadt
VS : Wallis
ZG : Zug
ZH : Zürich
*/
(function() {
var moment = (typeof require !== 'undefined' && require !== null) && !require.amd ? require('moment') : this.moment;
moment.holidays.switzerland = {
"Neujahrstag": {
date: '1/1',
keywords: ['new', 'year']
},
"Berchtoldstag": {
date: '1/2',
keywords: ['berchtold'],
regions_n: ['ai', 'ar', 'bl', 'bs', 'ge', 'gr', 'sz', 'ti', 'ur']
},
"Dreikönigstag": {
date: '1/6',
keywords: ['epiphany', 'konige'],
regions: ['sz', 'ti', 'ur']
},
"Ausrufung Republik Neuenburg": {
date: '3/1',
keywords: ['establishment', 'republic', 'neuchatel'],
regions: ['ne']
},
"Josephstag": {
date: '3/19',
keywords: ['joseph'],
regions: ['nw', 'sz', 'ti', 'ur', 'vs']
},
"Karfreitag": {
date: 'easter-2',
keywords: ['good', 'friday'],
regions_n: ['ti', 'vs']
},
"Ostersonntag": {
date: 'easter',
keywords: ['easter'],
keywords_n: ['monday']
},
"Ostermontag": {
date: 'easter+1',
keywords: ['easter', 'monday'],
regions_n: ['ne']
},
"Näfelser Fahrt": {
date: '4/(4,1)',
keywords: ['nafels', 'fahrt'],
regions: ['gl']
},
"Tag der Arbeit": {
date: '5/1',
keywords: ['labor'],
regions: ['ag', 'bl', 'bs', 'ju', 'ne', 'sh', 'so', 'tg', 'ti', 'zh']
},
"Auffahrt": {
date: 'easter+39',
keywords: ['ascension', 'christi', 'himmelfahrt']
},
"Pfingstsonntag": {
date: 'easter+49',
keywords: ['pentecost']
},
"Pfingstmontag": {
date: 'easter+50',
keywords: ['whit', 'monday'],
regions_n: ['ne']
},
"Fronleichnam": {
date: 'easter+60',
keywords: ['corpus', 'christi'],
regions_n: ['ar', 'be', 'bl', 'bs', 'ge', 'gl', 'gr', 'sg', 'sh', 'tg', 'vd', 'zh']
},
"Unabhängigkeitsfest Jura": {
date: '6/23',
keywords: ['independence', 'jura'],
regions: ['ju']
},
"St. Peter und Paul": {
date: '6/29',
keywords: ['st[\\s\\.]', 'peter', 'paul'],
regions: ['ti']
},
"Bundesfeiertag": {
date: '8/1',
keywords: ['national', 'holiday']
},
"Mariä Himmelfahrt": {
date: '8/15',
keywords: ['assumption', 'maria'],
regions: ['ag', 'ai', 'fr', 'ju', 'lu', 'nw', 'ow', 'so', 'sz', 'ti', 'ur', 'vs', 'zg']
},
"Genfer Bettag": {
date: '9/(4,[-11])',
keywords: ['repentance'],
keywords_y: ['geneva'],
keywords_n: ['federal', 'monday'],
regions: ['ge']
},
"Eidg. Dank-, Buss- und Bettag": {
date: '9/(0,3)',
keywords: ['repentance'],
keywords_y: ['federal'],
keywords_n: ['geneva', 'monday'],
regions: ['vd']
},
"Bettagsmontag": {
date: '9/(1,[-22])',
keywords: ['repentance'],
keywords_y: ['monday'],
keywords_n: ['federal', 'geneva'],
regions: ['vd']
},
"Mauritiustag": {
date: '9/22',
keywords: ['maurice'],
regions: ['ai']
},
"Bruderklausenfest": {
date: '9/25',
keywords: ['brother', 'klaus'],
regions: ['ow']
},
"Allerheiligen": {
date: '11/1',
keywords: ['all', 'saints'],
regions_n: ['ar', 'be', 'bl', 'bs', 'ge', 'gr', 'ne', 'sh', 'tg', 'vd', 'zh']
},
"Mariä Empfängnis": {
date: '12/8',
keywords: ['immaculate', 'conception'],
regions: ['ag', 'ai', 'fr', 'lu', 'nw', 'ow', 'sz', 'ti', 'ur', 'vs', 'zg']
},
"Weihnachtstag": {
date: '12/25',
keywords: ['christ', 'x-?mas']
},
"Stephanstag": {
date: '12/26',
keywords: ['boxing', 'box'],
regions_n: ['ge', 'ju', 'vd']
},
"Wiederherstellung Republik Genf": {
date: '12/31',
keywords: ['restoration', 'republic', 'geneva'],
regions: ['ge']
}
};
if ((typeof module !== 'undefined' && module !== null ? module.exports : void 0) != null) { module.exports = moment; }
}).call(this);