line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Date::Manip::Lang::german; |
2
|
|
|
|
|
|
|
# Copyright (c) 1998-2022 Sullivan Beck. All rights reserved. |
3
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify it |
4
|
|
|
|
|
|
|
# under the same terms as Perl itself. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
######################################################################## |
7
|
|
|
|
|
|
|
######################################################################## |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
require 5.010000; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
39
|
|
12
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
13
|
1
|
|
|
1
|
|
4
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our($VERSION); |
16
|
|
|
|
|
|
|
$VERSION='6.90'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our($Language,@Encodings,$LangName,$YearAdded); |
19
|
|
|
|
|
|
|
@Encodings = qw(utf-8 iso-8859-1 perl); |
20
|
|
|
|
|
|
|
$LangName = "German"; |
21
|
|
|
|
|
|
|
$YearAdded = 1998; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
$Language = { |
24
|
|
|
|
|
|
|
_special_rules => { 'remove_trailing_period' => 1 }, |
25
|
|
|
|
|
|
|
ampm => [['FM', 'vorm.'], ['EM', 'nachm.']], |
26
|
|
|
|
|
|
|
at => ['um'], |
27
|
|
|
|
|
|
|
day_abb => [ |
28
|
|
|
|
|
|
|
['Mo', 'Mo.'], |
29
|
|
|
|
|
|
|
['Di', 'Di.'], |
30
|
|
|
|
|
|
|
['Mi', 'Mi.'], |
31
|
|
|
|
|
|
|
['Do', 'Do.'], |
32
|
|
|
|
|
|
|
['Fr', 'Fr.'], |
33
|
|
|
|
|
|
|
['Sa', 'Sa.'], |
34
|
|
|
|
|
|
|
['So', 'So.'], |
35
|
|
|
|
|
|
|
], |
36
|
|
|
|
|
|
|
day_char => [['M'], ['Di'], ['Mi'], ['Do'], ['F'], ['Sa'], ['So']], |
37
|
|
|
|
|
|
|
day_name => [ |
38
|
|
|
|
|
|
|
['Montag'], |
39
|
|
|
|
|
|
|
['Dienstag'], |
40
|
|
|
|
|
|
|
['Mittwoch'], |
41
|
|
|
|
|
|
|
['Donnerstag'], |
42
|
|
|
|
|
|
|
['Freitag'], |
43
|
|
|
|
|
|
|
['Samstag', 'Sonnabend'], |
44
|
|
|
|
|
|
|
['Sonntag'], |
45
|
|
|
|
|
|
|
], |
46
|
|
|
|
|
|
|
each => ['jeden'], |
47
|
|
|
|
|
|
|
fields => [ |
48
|
|
|
|
|
|
|
['Jahren', 'j', 'Jahr', 'Jahre'], |
49
|
|
|
|
|
|
|
['Monaten', 'm', 'Monat', 'Monate'], |
50
|
|
|
|
|
|
|
['Wochen', 'w', 'Woche'], |
51
|
|
|
|
|
|
|
['Tagen', 't', 'Tag', 'Tage'], |
52
|
|
|
|
|
|
|
['Stunden', 'h', 'std', 'Stunde'], |
53
|
|
|
|
|
|
|
['Minuten', 'min', 'Minute'], |
54
|
|
|
|
|
|
|
['Sekunden', 's', 'sek', 'Sekunde'], |
55
|
|
|
|
|
|
|
], |
56
|
|
|
|
|
|
|
last => ['letzten', 'letzte'], |
57
|
|
|
|
|
|
|
mode => [['genau', 'ungefahr', 'ungefähr'], ['Arbeitstag', 'Arbeits']], |
58
|
|
|
|
|
|
|
month_abb => [ |
59
|
|
|
|
|
|
|
['Jän', 'Jan'], |
60
|
|
|
|
|
|
|
['Feb'], |
61
|
|
|
|
|
|
|
['Mär', 'Mar'], |
62
|
|
|
|
|
|
|
['Apr'], |
63
|
|
|
|
|
|
|
['Mai'], |
64
|
|
|
|
|
|
|
['Jun'], |
65
|
|
|
|
|
|
|
['Jul'], |
66
|
|
|
|
|
|
|
['Aug'], |
67
|
|
|
|
|
|
|
['Sep'], |
68
|
|
|
|
|
|
|
['Okt'], |
69
|
|
|
|
|
|
|
['Nov'], |
70
|
|
|
|
|
|
|
['Dez'], |
71
|
|
|
|
|
|
|
], |
72
|
|
|
|
|
|
|
month_name => [ |
73
|
|
|
|
|
|
|
['Januar','Jänner'], |
74
|
|
|
|
|
|
|
['Februar'], |
75
|
|
|
|
|
|
|
['März', 'Marz', 'Maerz'], |
76
|
|
|
|
|
|
|
['April'], |
77
|
|
|
|
|
|
|
['Mai'], |
78
|
|
|
|
|
|
|
['Juni'], |
79
|
|
|
|
|
|
|
['Juli'], |
80
|
|
|
|
|
|
|
['August'], |
81
|
|
|
|
|
|
|
['September'], |
82
|
|
|
|
|
|
|
['Oktober'], |
83
|
|
|
|
|
|
|
['November'], |
84
|
|
|
|
|
|
|
['Dezember'], |
85
|
|
|
|
|
|
|
], |
86
|
|
|
|
|
|
|
nextprev => [ |
87
|
|
|
|
|
|
|
['nachsten', 'nächsten', 'nachste', 'nächste'], |
88
|
|
|
|
|
|
|
['vorherigen', 'vorherige', 'letzte', 'letzten'], |
89
|
|
|
|
|
|
|
], |
90
|
|
|
|
|
|
|
nth => [ |
91
|
|
|
|
|
|
|
['1.', 'erste', 'erster', 'eins'], |
92
|
|
|
|
|
|
|
['2.', 'zweite', 'zwei', 'zweiter'], |
93
|
|
|
|
|
|
|
['3.', 'dritte', 'drei', 'dritter'], |
94
|
|
|
|
|
|
|
['4.', 'vierte', 'vier'], |
95
|
|
|
|
|
|
|
['5.', 'funfte', 'fünfte', 'fünf', 'fünfter', 'funf', 'funfter'], |
96
|
|
|
|
|
|
|
['6.', 'sechste', 'sechs', 'sechster'], |
97
|
|
|
|
|
|
|
['7.', 'siebente', 'siebte', 'sieben', 'siebter'], |
98
|
|
|
|
|
|
|
['8.', 'achte', 'achten'], |
99
|
|
|
|
|
|
|
['9.', 'neunte', 'neun', 'neunten'], |
100
|
|
|
|
|
|
|
['10.', 'zehnte', 'zehn', 'zehnten'], |
101
|
|
|
|
|
|
|
['11.', 'elfte', 'elf'], |
102
|
|
|
|
|
|
|
['12.', 'zwolfte', 'zwölfte', 'zwölf', 'zwölften', 'zwolf', 'zwolften'], |
103
|
|
|
|
|
|
|
['13.', 'dreizehnte', 'dreizehn'], |
104
|
|
|
|
|
|
|
['14.', 'vierzehnte', 'vierzehn'], |
105
|
|
|
|
|
|
|
[ |
106
|
|
|
|
|
|
|
'15.', |
107
|
|
|
|
|
|
|
'funfzehnte', |
108
|
|
|
|
|
|
|
'fünfzehnte', |
109
|
|
|
|
|
|
|
'fünfzehn', |
110
|
|
|
|
|
|
|
'fünfzehnten', |
111
|
|
|
|
|
|
|
'funfzehn', |
112
|
|
|
|
|
|
|
'funfzehnten', |
113
|
|
|
|
|
|
|
], |
114
|
|
|
|
|
|
|
['16.', 'sechzehnte', 'sechzehn'], |
115
|
|
|
|
|
|
|
['17.', 'siebzehnte', 'siebzehn'], |
116
|
|
|
|
|
|
|
['18.', 'achtzehnte', 'achtzehn'], |
117
|
|
|
|
|
|
|
['19.', 'neunzehnte', 'neunzehn'], |
118
|
|
|
|
|
|
|
['20.', 'zwanzigste', 'zwanzig', 'zwanzigsten'], |
119
|
|
|
|
|
|
|
['21.', 'einundzwanzigste', 'einundzwanzigsten'], |
120
|
|
|
|
|
|
|
['22.', 'zweiundzwanzigste', 'zweiundzwanzigsten'], |
121
|
|
|
|
|
|
|
['23.', 'dreiundzwanzigste', 'dreiundzwanzigsten'], |
122
|
|
|
|
|
|
|
['24.', 'vierundzwanzigste', 'vierundzwanzigsten'], |
123
|
|
|
|
|
|
|
[ |
124
|
|
|
|
|
|
|
'25.', |
125
|
|
|
|
|
|
|
'funfundzwanzigste', |
126
|
|
|
|
|
|
|
'fünfundzwanzigste', |
127
|
|
|
|
|
|
|
'fünfundzwanzigsten', |
128
|
|
|
|
|
|
|
'funfundzwanzigsten', |
129
|
|
|
|
|
|
|
], |
130
|
|
|
|
|
|
|
['26.', 'sechsundzwanzigste', 'sechsundzwanzigsten'], |
131
|
|
|
|
|
|
|
['27.', 'siebenundzwanzigste', 'siebenundzwanzigsten'], |
132
|
|
|
|
|
|
|
['28.', 'achtundzwanzigste', 'achtundzwanzigsten'], |
133
|
|
|
|
|
|
|
['29.', 'neunundzwanzigste', 'neunundzwanzigsten'], |
134
|
|
|
|
|
|
|
[ |
135
|
|
|
|
|
|
|
'30.', |
136
|
|
|
|
|
|
|
'dreibigste', |
137
|
|
|
|
|
|
|
'dreißigste', |
138
|
|
|
|
|
|
|
'dreißig', |
139
|
|
|
|
|
|
|
'dreißigsten', |
140
|
|
|
|
|
|
|
'dreibig', |
141
|
|
|
|
|
|
|
'dreibigsten', |
142
|
|
|
|
|
|
|
], |
143
|
|
|
|
|
|
|
[ |
144
|
|
|
|
|
|
|
'31.', |
145
|
|
|
|
|
|
|
'einunddreibigste', |
146
|
|
|
|
|
|
|
'einunddreißigste', |
147
|
|
|
|
|
|
|
'einunddreißig', |
148
|
|
|
|
|
|
|
'einunddreißigsten', |
149
|
|
|
|
|
|
|
'einunddreibig', |
150
|
|
|
|
|
|
|
'einunddreibigsten', |
151
|
|
|
|
|
|
|
], |
152
|
|
|
|
|
|
|
[ |
153
|
|
|
|
|
|
|
'32.', |
154
|
|
|
|
|
|
|
'zweiunddreißig', |
155
|
|
|
|
|
|
|
'zweiunddreißigste', |
156
|
|
|
|
|
|
|
'zweiunddreibig', |
157
|
|
|
|
|
|
|
'zweiunddreibigste', |
158
|
|
|
|
|
|
|
], |
159
|
|
|
|
|
|
|
[ |
160
|
|
|
|
|
|
|
'33.', |
161
|
|
|
|
|
|
|
'dreiunddreißig', |
162
|
|
|
|
|
|
|
'dreiunddreißigsten', |
163
|
|
|
|
|
|
|
'dreiunddreibig', |
164
|
|
|
|
|
|
|
'dreiunddreibigsten', |
165
|
|
|
|
|
|
|
], |
166
|
|
|
|
|
|
|
[ |
167
|
|
|
|
|
|
|
'34.', |
168
|
|
|
|
|
|
|
'vierunddreißig', |
169
|
|
|
|
|
|
|
'vierunddreißigste', |
170
|
|
|
|
|
|
|
'vierunddreibig', |
171
|
|
|
|
|
|
|
'vierunddreibigste', |
172
|
|
|
|
|
|
|
], |
173
|
|
|
|
|
|
|
[ |
174
|
|
|
|
|
|
|
'35.', |
175
|
|
|
|
|
|
|
'fünfunddreißig', |
176
|
|
|
|
|
|
|
'fünfunddreißigste', |
177
|
|
|
|
|
|
|
'funfunddreibig', |
178
|
|
|
|
|
|
|
'funfunddreibigste', |
179
|
|
|
|
|
|
|
], |
180
|
|
|
|
|
|
|
[ |
181
|
|
|
|
|
|
|
'36.', |
182
|
|
|
|
|
|
|
'sechsunddreißig', |
183
|
|
|
|
|
|
|
'sechsunddreißigste', |
184
|
|
|
|
|
|
|
'sechsunddreibig', |
185
|
|
|
|
|
|
|
'sechsunddreibigste', |
186
|
|
|
|
|
|
|
], |
187
|
|
|
|
|
|
|
[ |
188
|
|
|
|
|
|
|
'37.', |
189
|
|
|
|
|
|
|
'siebenunddreißig', |
190
|
|
|
|
|
|
|
'siebenunddreißigsten', |
191
|
|
|
|
|
|
|
'siebenunddreibig', |
192
|
|
|
|
|
|
|
'siebenunddreibigsten', |
193
|
|
|
|
|
|
|
], |
194
|
|
|
|
|
|
|
[ |
195
|
|
|
|
|
|
|
'38.', |
196
|
|
|
|
|
|
|
'achtunddreißig', |
197
|
|
|
|
|
|
|
'achtunddreißigsten', |
198
|
|
|
|
|
|
|
'achtunddreibig', |
199
|
|
|
|
|
|
|
'achtunddreibigsten', |
200
|
|
|
|
|
|
|
], |
201
|
|
|
|
|
|
|
[ |
202
|
|
|
|
|
|
|
'39.', |
203
|
|
|
|
|
|
|
'neununddreißig', |
204
|
|
|
|
|
|
|
'neununddreißigsten', |
205
|
|
|
|
|
|
|
'neununddreibig', |
206
|
|
|
|
|
|
|
'neununddreibigsten', |
207
|
|
|
|
|
|
|
], |
208
|
|
|
|
|
|
|
['40.', 'vierzig', 'vierzigsten'], |
209
|
|
|
|
|
|
|
['41.', 'einundvierzig', 'einundvierzigsten'], |
210
|
|
|
|
|
|
|
['42.', 'zweiundvierzig', 'zweiundvierzigsten'], |
211
|
|
|
|
|
|
|
['43.', 'dreiundvierzig', 'dreiundvierzigsten'], |
212
|
|
|
|
|
|
|
['44.', 'vierundvierzig', 'vierundvierzigsten'], |
213
|
|
|
|
|
|
|
[ |
214
|
|
|
|
|
|
|
'45.', |
215
|
|
|
|
|
|
|
'fünfundvierzig', |
216
|
|
|
|
|
|
|
'fünfundvierzigsten', |
217
|
|
|
|
|
|
|
'funfundvierzig', |
218
|
|
|
|
|
|
|
'funfundvierzigsten', |
219
|
|
|
|
|
|
|
], |
220
|
|
|
|
|
|
|
['46.', 'sechsundvierzig', 'sechsundvierzigsten'], |
221
|
|
|
|
|
|
|
['47.', 'siebenundvierzig', 'siebenundvierzigste'], |
222
|
|
|
|
|
|
|
['47.', 'siebenundvierzig', 'siebenundvierzigste'], |
223
|
|
|
|
|
|
|
['49.', 'neunundvierzig', 'neunundvierzigsten'], |
224
|
|
|
|
|
|
|
['50.', 'fünfzig', 'fünfzigsten', 'funfzig', 'funfzigsten'], |
225
|
|
|
|
|
|
|
[ |
226
|
|
|
|
|
|
|
'51.', |
227
|
|
|
|
|
|
|
'einundfünfzig', |
228
|
|
|
|
|
|
|
'einundfünfzigsten', |
229
|
|
|
|
|
|
|
'einundfunfzig', |
230
|
|
|
|
|
|
|
'einundfunfzigsten', |
231
|
|
|
|
|
|
|
], |
232
|
|
|
|
|
|
|
[ |
233
|
|
|
|
|
|
|
'52.', |
234
|
|
|
|
|
|
|
'zweiundfünfzig', |
235
|
|
|
|
|
|
|
'zweiundfünfzigsten', |
236
|
|
|
|
|
|
|
'zweiundfunfzig', |
237
|
|
|
|
|
|
|
'zweiundfunfzigsten', |
238
|
|
|
|
|
|
|
], |
239
|
|
|
|
|
|
|
[ |
240
|
|
|
|
|
|
|
'53.', |
241
|
|
|
|
|
|
|
'dreiundfünfzig', |
242
|
|
|
|
|
|
|
'dreiundfünfzigsten', |
243
|
|
|
|
|
|
|
'dreiundfunfzig', |
244
|
|
|
|
|
|
|
'dreiundfunfzigsten', |
245
|
|
|
|
|
|
|
], |
246
|
|
|
|
|
|
|
], |
247
|
|
|
|
|
|
|
of => ['der', 'im', 'des'], |
248
|
|
|
|
|
|
|
offset_date => { |
249
|
|
|
|
|
|
|
'gestern' => '-0:0:0:1:0:0:0', |
250
|
|
|
|
|
|
|
'heute' => '0:0:0:0:0:0:0', |
251
|
|
|
|
|
|
|
'morgen' => '+0:0:0:1:0:0:0', |
252
|
|
|
|
|
|
|
'übermorgen' => '+0:0:0:2:0:0:0', |
253
|
|
|
|
|
|
|
}, |
254
|
|
|
|
|
|
|
offset_time => { jetzt => '0:0:0:0:0:0:0' }, |
255
|
|
|
|
|
|
|
on => ['am'], |
256
|
|
|
|
|
|
|
times => { mittag => '12:00:00', mitternacht => '00:00:00' }, |
257
|
|
|
|
|
|
|
when => [['vor', 'vorigen', 'vorherigen', 'vorherige'], ['in', 'spater', 'später']], |
258
|
|
|
|
|
|
|
}; |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
1; |