Debian Codegraph @

lib/Date/Manip/Lang/swedish.pod

raw
1 # Copyright (c) 1996-2026 Sullivan Beck. All rights reserved.
2 # This program is free software; you can redistribute it and/or modify it
3 # under the same terms as Perl itself.
4
5 ########################################################################
6 ########################################################################
7
8 =pod
9
10 =encoding utf-8
11
12 =head1 NAME
13
14 Date::Manip::Lang::swedish - Swedish language support.
15
16 =head1 SYNOPSIS
17
18 This module contains a list of words and expressions supporting
19 the language. It is not intended to be used directly (other
20 Date::Manip modules will load it as needed).
21
22 =head1 LANGUAGE EXPRESSIONS
23
24 The following is a list of all language words and expressions used
25 to write times and/or dates.
26
27 All strings are case insensitive.
28
29 =over 4
30
31 =item B<Month names and abbreviations>
32
33 When writing out the name of the month, several different variations may
34 exist including full names and abbreviations.
35
36 The following month names may be used:
37
38 Januari
39
40 Februari
41
42 Mars
43
44 April
45
46 Maj
47
48 Juni
49
50 Juli
51
52 Augusti
53
54 September
55
56 Oktober
57
58 November
59
60 December
61
62
63 The following abbreviations may be used:
64
65 Jan
66
67 Feb
68
69 Mar
70
71 Apr
72
73 Maj
74
75 Jun
76
77 Jul
78
79 Aug
80
81 Sep
82
83 Okt
84
85 Nov
86
87 Dec
88
89
90 =item B<Day names and abbreviations>
91
92 When writing out the name of the day, several different variations may
93 exist including full names and abbreviations.
94
95 The following day names may be used:
96
97 Måndag
98 Mandag
99
100 Tisdag
101
102 Onsdag
103
104 Torsdag
105
106 Fredag
107
108 Lördag
109 Lordag
110
111 Söndag
112 Sondag
113
114
115 The following abbreviations may be used:
116
117 Mån
118 Man
119
120 Tis
121
122 Ons
123
124 Tor
125
126 Fre
127
128 Lör
129 Lor
130
131 Sön
132 Son
133
134
135 The following short (1-2 characters) abbreviations may be used:
136
137 M
138
139 Ti
140
141 O
142
143 To
144
145 F
146
147 L
148
149 S
150
151
152 =item B<Delta field names>
153
154 These are the names (and abbreviations) for the fields in a delta. There are
155 7 fields: years, months, weeks, days, hours, minutes, seconds.
156
157 The names and abbreviations for these fields are:
158
159 ar
160 år
161
162 manader
163 månader
164 man
165 manad
166 mån
167 månad
168
169 veckor
170 v
171 vecka
172
173 dagar
174 d
175 dag
176
177 timmar
178 t
179 tim
180 timme
181
182 minuter
183 m
184 min
185 minut
186
187 sekunder
188 s
189 sek
190 sekund
191
192
193 =item B<Morning/afternoon times>
194
195 This is a list of expressions use to designate morning or afternoon time
196 when a time is entered as a 12-hour time rather than a 24-hour time.
197 For example, in English, the time "17:00" could be specified as "5:00 PM".
198
199 Morning and afternoon time may be designated by the following sets of
200 words:
201
202 FM
203
204 EM
205
206
207 =item B<Each or every>
208
209 There are a list of words that specify every occurrence of something. These
210 are used in the following phrases:
211
212 EACH Monday
213 EVERY Monday
214 EVERY month
215
216 The following words may be used:
217
218 varje
219
220
221 =item B<Next/Previous/Last occurrence>
222
223 There are a list of words that may be used to specify the next,
224 previous, or last occurrence of something. These words could be used
225 in the following phrases:
226
227 NEXT week
228
229 LAST Tuesday
230 PREVIOUS Tuesday
231
232 LAST day of the month
233
234 The following words may be used:
235
236 Next occurrence:
237
238 nasta
239 nästa
240
241
242 Previous occurrence:
243
244 forra
245 förra
246
247
248 Last occurrence:
249
250 forra
251 förra
252 senaste
253
254
255 =item B<Delta words for going forward/backward in time>
256
257 When parsing deltas, there are words that may be used to specify
258 the the delta will refer to a time in the future or to a time in
259 the past (relative to some date). In English, for example, you
260 might say:
261
262 IN 5 days
263 5 days AGO
264
265 The following words may be used to specify deltas that refer to
266 dates in the past or future respectively:
267
268 sedan
269
270 om
271 senare
272
273
274 =item B<Business mode>
275
276 This contains two lists of words which can be used to specify a standard
277 (i.e. non-business) delta or a business delta.
278
279 Previously, it was used to tell whether the delta was approximate or exact,
280 but now this list is not used except to force the delta to be standard.
281
282 The following words may be used:
283
284 exakt
285 ungefar
286 ungefär
287
288
289 The following words may be used to specify a business delta:
290
291 arbetsdag
292 arbetsdagar
293
294
295 =item B<Numbers>
296
297 Numbers may be spelled out in a variety of ways. The following sets correspond
298 to the numbers from 1 to 53:
299
300 1:a
301 en
302 ett
303 forsta
304 första
305
306 2:a
307 två
308 tva
309 andra
310
311 3:e
312 tre
313 tredje
314
315 4:e
316 fyra
317 fjarde
318 fjärde
319
320 5:e
321 fem
322 femte
323
324 6:e
325 sex
326 sjatte
327 sjätte
328
329 7:e
330 sju
331 sjunde
332
333 8:e
334 åtta
335 atta
336 attonde
337 åttonde
338
339 9:e
340 nio
341 nionde
342
343 10:e
344 tio
345 tionde
346
347
348 11:e
349 elva
350 elfte
351
352 12:e
353 tolv
354 tolfte
355
356 13:e
357 tretton
358 trettonde
359
360 14:e
361 fjorton
362 fjortonde
363
364 15:e
365 femton
366 femtonde
367
368 16:e
369 sexton
370 sextonde
371
372 17:e
373 sjutton
374 sjuttonde
375
376 18:e
377 arton
378 artonde
379
380 19:e
381 nitton
382 nittonde
383
384 20:e
385 tjugo
386 tjugonde
387
388
389 21:a
390 tjugoen
391 tjugoett
392 tjugoforsta
393 tjugoförsta
394
395 22:a
396 tjugotvå
397 tjugotva
398 tjugoandra
399
400 23:e
401 tjugotre
402 tjugotredje
403
404 24:e
405 tjugofyra
406 tjugofjarde
407 tjugofjärde
408
409 25:e
410 tjugofem
411 tjugofemte
412
413 26:e
414 tjugosex
415 tjugosjatte
416 tjugosjätte
417
418 27:e
419 tjugosju
420 tjugosjunde
421
422 28:e
423 tjugoåtta
424 tjugoatta
425 tjugoattonde
426 tjugoåttonde
427
428 29:e
429 tjugonio
430 tjugonionde
431
432 30:e
433 trettio
434 trettionde
435
436
437 31:a
438 trettioen
439 trettioett
440 trettioforsta
441 trettioförsta
442
443 32:a
444 trettiotvå
445 trettiotva
446 trettioandra
447
448 33:e
449 trettiotre
450 trettiotredje
451
452 34:e
453 trettiofyra
454 trettiofjarde
455 trettiofjärde
456
457 35:e
458 trettiofem
459 trettiofemte
460
461 36:e
462 trettiosex
463 trettiosjatte
464 trettiosjätte
465
466 37:e
467 trettiosju
468 trettiosjunde
469
470 38:e
471 trettioåtta
472 trettioatta
473 trettioattonde
474 trettioåttonde
475
476 39:e
477 trettionio
478 trettionionde
479
480 40:e
481 fyrtio
482 fyrtionde
483
484
485 41:a
486 fyrtioen
487 fyrtioett
488 fyrtioforsta
489 fyrtioförsta
490
491 42:a
492 fyrtiotvå
493 fyrtiotva
494 fyrtioandra
495
496 43:e
497 fyrtiotre
498 fyrtiotredje
499
500 44:e
501 fyrtiofyra
502 fyrtiofjarde
503 fyrtiofjärde
504
505 45:e
506 fyrtiofem
507 fyrtiofemte
508
509 46:e
510 fyrtiosex
511 fyrtiosjatte
512 fyrtiosjätte
513
514 47:e
515 fyrtiosju
516 fyrtiosjunde
517
518 48:e
519 fyrtioåtta
520 fyrtioatta
521 fyrtioattonde
522 fyrtioåttonde
523
524 49:e
525 fyrtionio
526 fyrtionionde
527
528 50:e
529 femtio
530 femtionde
531
532
533 51:a
534 femtioen
535 femtioett
536 femtioforsta
537 femtioförsta
538
539 52:a
540 femtiotvå
541 femtiotva
542 femtioandra
543
544 53:e
545 femtiotre
546 femtiotredje
547
548
549 =item B<Ignored words>
550
551 In writing out dates in common forms, there are a number of words
552 that are typically not important.
553
554 There is frequently a word that appears in a phrase to designate
555 that a time is going to be specified next. In English, you would
556 use the word AT in the example:
557
558 December 3 at 12:00
559
560 The following words may be used:
561
562 kl
563 kl.
564 klockan
565
566
567 Another word is used to designate one member of a set. In English,
568 you would use the words IN or OF:
569
570 1st day OF December
571 1st day IN December
572
573 The following words may be used:
574
575 om
576
577
578 Another word is use to specify that something is on a certain date. In
579 English, you would use ON:
580
581 ON July 5th
582
583 The following words may be used:
584
585 pa
586 på
587
588
589 =item B<Words that set the date, time, or both>
590
591 There are some words that can be used to specify a date, a
592 time, or both relative to now.
593
594 Words that set the date are similar to the English words 'yesterday'
595 or 'tomorrow'. These are specified as a delta which is added to the
596 current time to get a date. The time is NOT set however, so the delta
597 is only partially used (it should only include year, month, week, and
598 day fields).
599
600 The following words may be used:
601
602 i dag 0:0:0:0:0:0:0
603 i gar -0:0:0:1:0:0:0
604 i går -0:0:0:1:0:0:0
605 i morgon +0:0:0:1:0:0:0
606 idag 0:0:0:0:0:0:0
607 igar -0:0:0:1:0:0:0
608 igår -0:0:0:1:0:0:0
609 imorgon +0:0:0:1:0:0:0
610
611
612 Words that set only the time of day are similar to the English words
613 'noon' or 'midnight'.
614
615 The following words may be used:
616
617 midnatt 00:00:00
618 mitt pa dagen 12:00:00
619 mitt på dagen 12:00:00
620
621
622 Words that set the entire time and date (relative to the current
623 time and date) are also available.
624
625 In English, the word 'now' is one of these.
626
627 The following words may be used:
628
629 nu 0:0:0:0:0:0:0
630
631
632 =item B<Hour/Minute/Second separators>
633
634 When specifying the time of day, the most common separator is a colon (:)
635 which can be used for both separators.
636
637 Some languages use different pairs. For example, French allows you to
638 specify the time as 13h30:20, so it would use the following pairs:
639
640 : :
641 h :
642
643 The first column is the hour-minute separator and the second column is
644 the minute-second separator. Both are perl regular expressions. When
645 creating a new translation, be aware that regular expressions with utf-8
646 characters may be tricky. For example, don't include the expression '[x]'
647 where 'x' is a utf-8 character.
648
649 A pair of colons is ALWAYS allowed for all languages. If a language allows
650 additional pairs, they are listed here:
651
652 \. :
653
654
655 =item B<Fractional second separator>
656
657 When specifying fractional seconds, the most common way is to use a
658 decimal point (.). Some languages may specify a different separator
659 that might be used. If this is done, it is a regular expression.
660
661 The decimal point is ALWAYS allowed for all languages. If a language allows
662 another separator, it is listed here:
663
664 Not defined in this language
665
666
667 =back
668
669 =head1 KNOWN BUGS
670
671 None known.
672
673 =head1 BUGS AND QUESTIONS
674
675 Please refer to the L<Date::Manip::Problems> documentation for
676 information on submitting bug reports or questions to the author.
677
678 =head1 SEE ALSO
679
680 L<Date::Manip> - main module documentation
681
682 =head1 LICENSE
683
684 This script is free software; you can redistribute it and/or
685 modify it under the same terms as Perl itself.
686
687 =head1 AUTHOR
688
689 Sullivan Beck ([email protected])
690
691 =cut