| 1 |
# Copyright (c) 2001-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::danish - Danish 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 |
Januar |
| 39 |
|
| 40 |
Februar |
| 41 |
|
| 42 |
Marts |
| 43 |
|
| 44 |
April |
| 45 |
|
| 46 |
Maj |
| 47 |
|
| 48 |
Juni |
| 49 |
|
| 50 |
Juli |
| 51 |
|
| 52 |
August |
| 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 |
Mandag |
| 98 |
|
| 99 |
Tirsdag |
| 100 |
|
| 101 |
Onsdag |
| 102 |
|
| 103 |
Torsdag |
| 104 |
|
| 105 |
Fredag |
| 106 |
|
| 107 |
Lørdag |
| 108 |
Lordag |
| 109 |
|
| 110 |
Søndag |
| 111 |
Sondag |
| 112 |
|
| 113 |
|
| 114 |
The following abbreviations may be used: |
| 115 |
|
| 116 |
Man |
| 117 |
|
| 118 |
Tir |
| 119 |
|
| 120 |
Ons |
| 121 |
|
| 122 |
Tor |
| 123 |
|
| 124 |
Fre |
| 125 |
|
| 126 |
Lør |
| 127 |
Lor |
| 128 |
|
| 129 |
Søn |
| 130 |
Son |
| 131 |
|
| 132 |
|
| 133 |
The following short (1-2 characters) abbreviations may be used: |
| 134 |
|
| 135 |
M |
| 136 |
|
| 137 |
Ti |
| 138 |
|
| 139 |
O |
| 140 |
|
| 141 |
To |
| 142 |
|
| 143 |
F |
| 144 |
|
| 145 |
L |
| 146 |
|
| 147 |
S |
| 148 |
|
| 149 |
|
| 150 |
=item B<Delta field names> |
| 151 |
|
| 152 |
These are the names (and abbreviations) for the fields in a delta. There are |
| 153 |
7 fields: years, months, weeks, days, hours, minutes, seconds. |
| 154 |
|
| 155 |
The names and abbreviations for these fields are: |
| 156 |
|
| 157 |
ar |
| 158 |
år |
| 159 |
|
| 160 |
maneder |
| 161 |
måneder |
| 162 |
man |
| 163 |
maned |
| 164 |
mån |
| 165 |
måned |
| 166 |
|
| 167 |
uger |
| 168 |
u |
| 169 |
uge |
| 170 |
|
| 171 |
dage |
| 172 |
d |
| 173 |
dag |
| 174 |
|
| 175 |
timer |
| 176 |
t |
| 177 |
tim |
| 178 |
time |
| 179 |
|
| 180 |
minutter |
| 181 |
m |
| 182 |
min |
| 183 |
minut |
| 184 |
|
| 185 |
sekunder |
| 186 |
s |
| 187 |
sek |
| 188 |
sekund |
| 189 |
|
| 190 |
|
| 191 |
=item B<Morning/afternoon times> |
| 192 |
|
| 193 |
This is a list of expressions use to designate morning or afternoon time |
| 194 |
when a time is entered as a 12-hour time rather than a 24-hour time. |
| 195 |
For example, in English, the time "17:00" could be specified as "5:00 PM". |
| 196 |
|
| 197 |
Morning and afternoon time may be designated by the following sets of |
| 198 |
words: |
| 199 |
|
| 200 |
FM |
| 201 |
f.m. |
| 202 |
|
| 203 |
EM |
| 204 |
e.m. |
| 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 |
hver |
| 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 |
naste |
| 239 |
næste |
| 240 |
|
| 241 |
|
| 242 |
Previous occurrence: |
| 243 |
|
| 244 |
forrige |
| 245 |
|
| 246 |
|
| 247 |
Last occurrence: |
| 248 |
|
| 249 |
forrige |
| 250 |
sidste |
| 251 |
nyeste |
| 252 |
|
| 253 |
|
| 254 |
=item B<Delta words for going forward/backward in time> |
| 255 |
|
| 256 |
When parsing deltas, there are words that may be used to specify |
| 257 |
the the delta will refer to a time in the future or to a time in |
| 258 |
the past (relative to some date). In English, for example, you |
| 259 |
might say: |
| 260 |
|
| 261 |
IN 5 days |
| 262 |
5 days AGO |
| 263 |
|
| 264 |
The following words may be used to specify deltas that refer to |
| 265 |
dates in the past or future respectively: |
| 266 |
|
| 267 |
siden |
| 268 |
|
| 269 |
om |
| 270 |
senere |
| 271 |
|
| 272 |
|
| 273 |
=item B<Business mode> |
| 274 |
|
| 275 |
This contains two lists of words which can be used to specify a standard |
| 276 |
(i.e. non-business) delta or a business delta. |
| 277 |
|
| 278 |
Previously, it was used to tell whether the delta was approximate or exact, |
| 279 |
but now this list is not used except to force the delta to be standard. |
| 280 |
|
| 281 |
The following words may be used: |
| 282 |
|
| 283 |
pracist |
| 284 |
præcist |
| 285 |
circa |
| 286 |
|
| 287 |
|
| 288 |
The following words may be used to specify a business delta: |
| 289 |
|
| 290 |
arbejdsdag |
| 291 |
arbejdsdage |
| 292 |
|
| 293 |
|
| 294 |
=item B<Numbers> |
| 295 |
|
| 296 |
Numbers may be spelled out in a variety of ways. The following sets correspond |
| 297 |
to the numbers from 1 to 53: |
| 298 |
|
| 299 |
1. |
| 300 |
forste |
| 301 |
første |
| 302 |
en |
| 303 |
|
| 304 |
2. |
| 305 |
anden |
| 306 |
to |
| 307 |
|
| 308 |
3. |
| 309 |
tredie |
| 310 |
tre |
| 311 |
|
| 312 |
4. |
| 313 |
fjerde |
| 314 |
fire |
| 315 |
|
| 316 |
5. |
| 317 |
femte |
| 318 |
fem |
| 319 |
|
| 320 |
6. |
| 321 |
sjette |
| 322 |
seks |
| 323 |
|
| 324 |
7. |
| 325 |
syvende |
| 326 |
syv |
| 327 |
|
| 328 |
8. |
| 329 |
ottende |
| 330 |
otte |
| 331 |
|
| 332 |
9. |
| 333 |
niende |
| 334 |
ni |
| 335 |
|
| 336 |
10. |
| 337 |
tiende |
| 338 |
ti |
| 339 |
|
| 340 |
|
| 341 |
11. |
| 342 |
elfte |
| 343 |
elleve |
| 344 |
|
| 345 |
12. |
| 346 |
tolvte |
| 347 |
tolv |
| 348 |
|
| 349 |
13. |
| 350 |
trettende |
| 351 |
tretten |
| 352 |
|
| 353 |
14. |
| 354 |
fjortende |
| 355 |
fjorten |
| 356 |
|
| 357 |
15. |
| 358 |
femtende |
| 359 |
femten |
| 360 |
|
| 361 |
16. |
| 362 |
sekstende |
| 363 |
seksten |
| 364 |
|
| 365 |
17. |
| 366 |
syttende |
| 367 |
sytten |
| 368 |
|
| 369 |
18. |
| 370 |
attende |
| 371 |
atten |
| 372 |
|
| 373 |
19. |
| 374 |
nittende |
| 375 |
nitten |
| 376 |
|
| 377 |
20. |
| 378 |
tyvende |
| 379 |
tyve |
| 380 |
|
| 381 |
|
| 382 |
21. |
| 383 |
enogtyvende |
| 384 |
enogtyve |
| 385 |
|
| 386 |
22. |
| 387 |
toogtyvende |
| 388 |
toogtyve |
| 389 |
|
| 390 |
23. |
| 391 |
treogtyvende |
| 392 |
treogtyve |
| 393 |
|
| 394 |
24. |
| 395 |
fireogtyvende |
| 396 |
fireogtyve |
| 397 |
|
| 398 |
25. |
| 399 |
femogtyvende |
| 400 |
femogtyve |
| 401 |
|
| 402 |
26. |
| 403 |
seksogtyvende |
| 404 |
seksogtyve |
| 405 |
|
| 406 |
27. |
| 407 |
syvogtyvende |
| 408 |
syvogtyve |
| 409 |
|
| 410 |
28. |
| 411 |
otteogtyvende |
| 412 |
otteogtyve |
| 413 |
|
| 414 |
29. |
| 415 |
niogtyvende |
| 416 |
niogtyve |
| 417 |
|
| 418 |
30. |
| 419 |
tredivte |
| 420 |
tredive |
| 421 |
|
| 422 |
|
| 423 |
31. |
| 424 |
enogtredivte |
| 425 |
enogtredive |
| 426 |
|
| 427 |
32. |
| 428 |
toogtredivte |
| 429 |
toogtredive |
| 430 |
|
| 431 |
33. |
| 432 |
treogtredivte |
| 433 |
treogtredive |
| 434 |
|
| 435 |
34. |
| 436 |
fireogtredivte |
| 437 |
fireogtredive |
| 438 |
|
| 439 |
35. |
| 440 |
femogtredivte |
| 441 |
femogtredive |
| 442 |
|
| 443 |
36. |
| 444 |
seksogtredivte |
| 445 |
seksogtredive |
| 446 |
|
| 447 |
37. |
| 448 |
syvogtredivte |
| 449 |
syvogtredive |
| 450 |
|
| 451 |
38. |
| 452 |
otteogtredivte |
| 453 |
otteogtredive |
| 454 |
|
| 455 |
39. |
| 456 |
niogtredivte |
| 457 |
niogtredive |
| 458 |
|
| 459 |
40. |
| 460 |
fyrretyvende |
| 461 |
fyrre |
| 462 |
|
| 463 |
|
| 464 |
41. |
| 465 |
enogtyvende |
| 466 |
enogtyve |
| 467 |
|
| 468 |
42. |
| 469 |
toogtyvende |
| 470 |
toogtyve |
| 471 |
|
| 472 |
43. |
| 473 |
treogtyvende |
| 474 |
treogtyve |
| 475 |
|
| 476 |
44. |
| 477 |
fireogtyvende |
| 478 |
fireogtyve |
| 479 |
|
| 480 |
45. |
| 481 |
femogtyvende |
| 482 |
femogtyve |
| 483 |
|
| 484 |
46. |
| 485 |
seksogtyvende |
| 486 |
seksogtyve |
| 487 |
|
| 488 |
47. |
| 489 |
syvogtyvende |
| 490 |
syvogtyve |
| 491 |
|
| 492 |
48. |
| 493 |
otteogtyvende |
| 494 |
otteogtyve |
| 495 |
|
| 496 |
49. |
| 497 |
niogtyvende |
| 498 |
niogtyve |
| 499 |
|
| 500 |
50. |
| 501 |
halvtredsindstyvende |
| 502 |
halvtreds |
| 503 |
|
| 504 |
|
| 505 |
51. |
| 506 |
enogindstyvende |
| 507 |
enogindstyve |
| 508 |
|
| 509 |
52. |
| 510 |
toogindstyvende |
| 511 |
toogindstyve |
| 512 |
|
| 513 |
53. |
| 514 |
treogindstyvende |
| 515 |
treogindstyve |
| 516 |
|
| 517 |
|
| 518 |
=item B<Ignored words> |
| 519 |
|
| 520 |
In writing out dates in common forms, there are a number of words |
| 521 |
that are typically not important. |
| 522 |
|
| 523 |
There is frequently a word that appears in a phrase to designate |
| 524 |
that a time is going to be specified next. In English, you would |
| 525 |
use the word AT in the example: |
| 526 |
|
| 527 |
December 3 at 12:00 |
| 528 |
|
| 529 |
The following words may be used: |
| 530 |
|
| 531 |
klokken |
| 532 |
kl |
| 533 |
kl. |
| 534 |
|
| 535 |
|
| 536 |
Another word is used to designate one member of a set. In English, |
| 537 |
you would use the words IN or OF: |
| 538 |
|
| 539 |
1st day OF December |
| 540 |
1st day IN December |
| 541 |
|
| 542 |
The following words may be used: |
| 543 |
|
| 544 |
om |
| 545 |
|
| 546 |
|
| 547 |
Another word is use to specify that something is on a certain date. In |
| 548 |
English, you would use ON: |
| 549 |
|
| 550 |
ON July 5th |
| 551 |
|
| 552 |
The following words may be used: |
| 553 |
|
| 554 |
pa |
| 555 |
på |
| 556 |
|
| 557 |
|
| 558 |
=item B<Words that set the date, time, or both> |
| 559 |
|
| 560 |
There are some words that can be used to specify a date, a |
| 561 |
time, or both relative to now. |
| 562 |
|
| 563 |
Words that set the date are similar to the English words 'yesterday' |
| 564 |
or 'tomorrow'. These are specified as a delta which is added to the |
| 565 |
current time to get a date. The time is NOT set however, so the delta |
| 566 |
is only partially used (it should only include year, month, week, and |
| 567 |
day fields). |
| 568 |
|
| 569 |
The following words may be used: |
| 570 |
|
| 571 |
idag 0:0:0:0:0:0:0 |
| 572 |
igar -0:0:0:1:0:0:0 |
| 573 |
igår -0:0:0:1:0:0:0 |
| 574 |
imorgen +0:0:0:1:0:0:0 |
| 575 |
|
| 576 |
|
| 577 |
Words that set only the time of day are similar to the English words |
| 578 |
'noon' or 'midnight'. |
| 579 |
|
| 580 |
The following words may be used: |
| 581 |
|
| 582 |
midnat 00:00:00 |
| 583 |
midt pa dagen 12:00:00 |
| 584 |
midt på dagen 12:00:00 |
| 585 |
|
| 586 |
|
| 587 |
Words that set the entire time and date (relative to the current |
| 588 |
time and date) are also available. |
| 589 |
|
| 590 |
In English, the word 'now' is one of these. |
| 591 |
|
| 592 |
The following words may be used: |
| 593 |
|
| 594 |
nu 0:0:0:0:0:0:0 |
| 595 |
|
| 596 |
|
| 597 |
=item B<Hour/Minute/Second separators> |
| 598 |
|
| 599 |
When specifying the time of day, the most common separator is a colon (:) |
| 600 |
which can be used for both separators. |
| 601 |
|
| 602 |
Some languages use different pairs. For example, French allows you to |
| 603 |
specify the time as 13h30:20, so it would use the following pairs: |
| 604 |
|
| 605 |
: : |
| 606 |
h : |
| 607 |
|
| 608 |
The first column is the hour-minute separator and the second column is |
| 609 |
the minute-second separator. Both are perl regular expressions. When |
| 610 |
creating a new translation, be aware that regular expressions with utf-8 |
| 611 |
characters may be tricky. For example, don't include the expression '[x]' |
| 612 |
where 'x' is a utf-8 character. |
| 613 |
|
| 614 |
A pair of colons is ALWAYS allowed for all languages. If a language allows |
| 615 |
additional pairs, they are listed here: |
| 616 |
|
| 617 |
\. : |
| 618 |
|
| 619 |
|
| 620 |
=item B<Fractional second separator> |
| 621 |
|
| 622 |
When specifying fractional seconds, the most common way is to use a |
| 623 |
decimal point (.). Some languages may specify a different separator |
| 624 |
that might be used. If this is done, it is a regular expression. |
| 625 |
|
| 626 |
The decimal point is ALWAYS allowed for all languages. If a language allows |
| 627 |
another separator, it is listed here: |
| 628 |
|
| 629 |
Not defined in this language |
| 630 |
|
| 631 |
|
| 632 |
=back |
| 633 |
|
| 634 |
=head1 KNOWN BUGS |
| 635 |
|
| 636 |
None known. |
| 637 |
|
| 638 |
=head1 BUGS AND QUESTIONS |
| 639 |
|
| 640 |
Please refer to the L<Date::Manip::Problems> documentation for |
| 641 |
information on submitting bug reports or questions to the author. |
| 642 |
|
| 643 |
=head1 SEE ALSO |
| 644 |
|
| 645 |
L<Date::Manip> - main module documentation |
| 646 |
|
| 647 |
=head1 LICENSE |
| 648 |
|
| 649 |
This script is free software; you can redistribute it and/or |
| 650 |
modify it under the same terms as Perl itself. |
| 651 |
|
| 652 |
=head1 AUTHOR |
| 653 |
|
| 654 |
Sullivan Beck ([email protected]) |
| 655 |
|
| 656 |
=cut |