1 ###########################################################################
3 # This file is auto-generated by the Perl DateTime Suite locale
4 # generator (0.05). This code generator comes with the
5 # DateTime::Locale distribution in the tools/ directory, and is called
8 # This file as generated from the CLDR XML locale data. See the
9 # LICENSE.cldr file included in this distribution for license details.
11 # This file was generated from the source file nn.xml
12 # The source file version number was 1.100, generated on
13 # 2009/06/15 03:46:24.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::nn;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "formiddag", "ettermiddag" ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
34 my $date_format_full = "EEEE\ d\.\ MMMM\ y";
35 sub date_format_full { return $date_format_full }
39 my $date_format_long = "d\.\ MMMM\ y";
40 sub date_format_long { return $date_format_long }
44 my $date_format_medium = "d\.\ MMM\.\ y";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "dd\.MM\.yy";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "må\.", "ty\.", "on\.", "to\.", "fr\.", "la\.", "sø\." ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag", "søndag" ];
62 sub day_format_wide { return $day_format_wide }
65 sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
68 my $day_stand_alone_narrow = [ "M", "T", "O", "T", "F", "L", "S" ];
69 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
72 sub day_stand_alone_wide { $_[0]->day_format_wide() }
75 my $era_abbreviated = [ "f\.Kr\.", "e\.Kr\." ];
76 sub era_abbreviated { return $era_abbreviated }
79 sub era_narrow { $_[0]->era_abbreviated() }
82 my $era_wide = [ "f\.Kr\.", "e\.Kr\." ];
83 sub era_wide { return $era_wide }
86 my $first_day_of_week = "1";
87 sub first_day_of_week { return $first_day_of_week }
91 my $month_format_abbreviated = [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ];
92 sub month_format_abbreviated { return $month_format_abbreviated }
95 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
98 my $month_format_wide = [ "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember" ];
99 sub month_format_wide { return $month_format_wide }
102 sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
105 my $month_stand_alone_narrow = [ "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D" ];
106 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
109 sub month_stand_alone_wide { $_[0]->month_format_wide() }
112 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
113 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
116 my $quarter_format_wide = [ "1\.\ kvartal", "2\.\ kvartal", "3\.\ kvartal", "4\.\ kvartal" ];
117 sub quarter_format_wide { return $quarter_format_wide }
120 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
123 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
126 my $time_format_full = "\'kl\'\.\ HH\.mm\.ss\ zzzz";
127 sub time_format_full { return $time_format_full }
131 my $time_format_long = "HH\.mm\.ss\ z";
132 sub time_format_long { return $time_format_long }
136 my $time_format_medium = "HH\.mm\.ss";
137 sub time_format_medium { return $time_format_medium }
141 my $time_format_short = "HH\.mm";
142 sub time_format_short { return $time_format_short }
146 my $_format_for_MMMMd = "d\.\ MMMM";
147 sub _format_for_MMMMd { return $_format_for_MMMMd }
151 my $_format_for_MMdd = "dd\.MM";
152 sub _format_for_MMdd { return $_format_for_MMdd }
156 my $_format_for_hm = "h\.mm\ a";
157 sub _format_for_hm { return $_format_for_hm }
161 my $_format_for_hms = "h\.mm\.ss\ a";
162 sub _format_for_hms { return $_format_for_hms }
166 my $_format_for_ms = "mm\.ss";
167 sub _format_for_ms { return $_format_for_ms }
171 my $_format_for_yyMM = "MM\.yy";
172 sub _format_for_yyMM { return $_format_for_yyMM }
176 my $_format_for_yyQ = "Q\ yy";
177 sub _format_for_yyQ { return $_format_for_yyQ }
181 my $_format_for_yyyyMMMM = "MMMM\ y";
182 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
186 my $_available_formats =
188 "MMMMd" => "d\.\ MMMM",
191 "hms" => "h\.mm\.ss\ a",
195 "yyyyMMMM" => "MMMM\ y"
197 sub _available_formats { return $_available_formats }
217 my $dt = DateTime->now( locale => 'nn' );
218 print $dt->month_name();
222 This is the DateTime locale package for Norwegian Nynorsk.
226 This locale inherits from the L<DateTime::Locale::root> locale.
228 It contains the following data.
242 =head3 Abbreviated (format)
252 =head3 Narrow (format)
262 =head3 Wide (stand-alone)
272 =head3 Abbreviated (stand-alone)
282 =head3 Narrow (stand-alone)
309 =head3 Abbreviated (format)
324 =head3 Narrow (format)
339 =head3 Wide (stand-alone)
354 =head3 Abbreviated (stand-alone)
369 =head3 Narrow (stand-alone)
393 =head3 Abbreviated (format)
400 =head3 Narrow (format)
407 =head3 Wide (stand-alone)
414 =head3 Abbreviated (stand-alone)
421 =head3 Narrow (stand-alone)
449 2008-02-05T18:30:30 = tysdag 5. februar 2008
450 1995-12-22T09:05:02 = fredag 22. desember 1995
451 -0010-09-15T04:44:23 = laurdag 15. september -10
455 2008-02-05T18:30:30 = 5. februar 2008
456 1995-12-22T09:05:02 = 22. desember 1995
457 -0010-09-15T04:44:23 = 15. september -10
461 2008-02-05T18:30:30 = 5. feb. 2008
462 1995-12-22T09:05:02 = 22. des. 1995
463 -0010-09-15T04:44:23 = 15. sep. -10
467 2008-02-05T18:30:30 = 05.02.08
468 1995-12-22T09:05:02 = 22.12.95
469 -0010-09-15T04:44:23 = 15.09.10
473 2008-02-05T18:30:30 = 5. feb. 2008
474 1995-12-22T09:05:02 = 22. des. 1995
475 -0010-09-15T04:44:23 = 15. sep. -10
481 2008-02-05T18:30:30 = kl. 18.30.30 UTC
482 1995-12-22T09:05:02 = kl. 09.05.02 UTC
483 -0010-09-15T04:44:23 = kl. 04.44.23 UTC
487 2008-02-05T18:30:30 = 18.30.30 UTC
488 1995-12-22T09:05:02 = 09.05.02 UTC
489 -0010-09-15T04:44:23 = 04.44.23 UTC
493 2008-02-05T18:30:30 = 18.30.30
494 1995-12-22T09:05:02 = 09.05.02
495 -0010-09-15T04:44:23 = 04.44.23
499 2008-02-05T18:30:30 = 18.30
500 1995-12-22T09:05:02 = 09.05
501 -0010-09-15T04:44:23 = 04.44
505 2008-02-05T18:30:30 = 18.30.30
506 1995-12-22T09:05:02 = 09.05.02
507 -0010-09-15T04:44:23 = 04.44.23
509 =head2 Datetime Formats
513 2008-02-05T18:30:30 = tysdag 5. februar 2008 kl. 18.30.30 UTC
514 1995-12-22T09:05:02 = fredag 22. desember 1995 kl. 09.05.02 UTC
515 -0010-09-15T04:44:23 = laurdag 15. september -10 kl. 04.44.23 UTC
519 2008-02-05T18:30:30 = 5. februar 2008 18.30.30 UTC
520 1995-12-22T09:05:02 = 22. desember 1995 09.05.02 UTC
521 -0010-09-15T04:44:23 = 15. september -10 04.44.23 UTC
525 2008-02-05T18:30:30 = 5. feb. 2008 18.30.30
526 1995-12-22T09:05:02 = 22. des. 1995 09.05.02
527 -0010-09-15T04:44:23 = 15. sep. -10 04.44.23
531 2008-02-05T18:30:30 = 05.02.08 18.30
532 1995-12-22T09:05:02 = 22.12.95 09.05
533 -0010-09-15T04:44:23 = 15.09.10 04.44
537 2008-02-05T18:30:30 = 5. feb. 2008 18.30.30
538 1995-12-22T09:05:02 = 22. des. 1995 09.05.02
539 -0010-09-15T04:44:23 = 15. sep. -10 04.44.23
541 =head2 Available Formats
545 2008-02-05T18:30:30 = 5 ty.
546 1995-12-22T09:05:02 = 22 fr.
547 -0010-09-15T04:44:23 = 15 la.
551 2008-02-05T18:30:30 = 18:30
552 1995-12-22T09:05:02 = 9:05
553 -0010-09-15T04:44:23 = 4:44
557 2008-02-05T18:30:30 = 18:30:30
558 1995-12-22T09:05:02 = 9:05:02
559 -0010-09-15T04:44:23 = 4:44:23
563 2008-02-05T18:30:30 = 2
564 1995-12-22T09:05:02 = 12
565 -0010-09-15T04:44:23 = 9
569 2008-02-05T18:30:30 = ty., 2-5
570 1995-12-22T09:05:02 = fr., 12-22
571 -0010-09-15T04:44:23 = la., 9-15
575 2008-02-05T18:30:30 = feb
576 1995-12-22T09:05:02 = des
577 -0010-09-15T04:44:23 = sep
579 =head3 MMMEd (E MMM d)
581 2008-02-05T18:30:30 = ty. feb 5
582 1995-12-22T09:05:02 = fr. des 22
583 -0010-09-15T04:44:23 = la. sep 15
585 =head3 MMMMEd (E MMMM d)
587 2008-02-05T18:30:30 = ty. februar 5
588 1995-12-22T09:05:02 = fr. desember 22
589 -0010-09-15T04:44:23 = la. september 15
591 =head3 MMMMd (d. MMMM)
593 2008-02-05T18:30:30 = 5. februar
594 1995-12-22T09:05:02 = 22. desember
595 -0010-09-15T04:44:23 = 15. september
599 2008-02-05T18:30:30 = feb 5
600 1995-12-22T09:05:02 = des 22
601 -0010-09-15T04:44:23 = sep 15
605 2008-02-05T18:30:30 = 05.02
606 1995-12-22T09:05:02 = 22.12
607 -0010-09-15T04:44:23 = 15.09
611 2008-02-05T18:30:30 = 2-5
612 1995-12-22T09:05:02 = 12-22
613 -0010-09-15T04:44:23 = 9-15
617 2008-02-05T18:30:30 = 5
618 1995-12-22T09:05:02 = 22
619 -0010-09-15T04:44:23 = 15
623 2008-02-05T18:30:30 = 6.30 ettermiddag
624 1995-12-22T09:05:02 = 9.05 formiddag
625 -0010-09-15T04:44:23 = 4.44 formiddag
627 =head3 hms (h.mm.ss a)
629 2008-02-05T18:30:30 = 6.30.30 ettermiddag
630 1995-12-22T09:05:02 = 9.05.02 formiddag
631 -0010-09-15T04:44:23 = 4.44.23 formiddag
635 2008-02-05T18:30:30 = 30.30
636 1995-12-22T09:05:02 = 05.02
637 -0010-09-15T04:44:23 = 44.23
641 2008-02-05T18:30:30 = 2008
642 1995-12-22T09:05:02 = 1995
643 -0010-09-15T04:44:23 = -10
647 2008-02-05T18:30:30 = 2008-2
648 1995-12-22T09:05:02 = 1995-12
649 -0010-09-15T04:44:23 = -10-9
651 =head3 yMEd (EEE, y-M-d)
653 2008-02-05T18:30:30 = ty., 2008-2-5
654 1995-12-22T09:05:02 = fr., 1995-12-22
655 -0010-09-15T04:44:23 = la., -10-9-15
659 2008-02-05T18:30:30 = 2008 feb
660 1995-12-22T09:05:02 = 1995 des
661 -0010-09-15T04:44:23 = -10 sep
663 =head3 yMMMEd (EEE, y MMM d)
665 2008-02-05T18:30:30 = ty., 2008 feb 5
666 1995-12-22T09:05:02 = fr., 1995 des 22
667 -0010-09-15T04:44:23 = la., -10 sep 15
669 =head3 yMMMM (y MMMM)
671 2008-02-05T18:30:30 = 2008 februar
672 1995-12-22T09:05:02 = 1995 desember
673 -0010-09-15T04:44:23 = -10 september
677 2008-02-05T18:30:30 = 2008 1
678 1995-12-22T09:05:02 = 1995 4
679 -0010-09-15T04:44:23 = -10 3
683 2008-02-05T18:30:30 = 2008 K1
684 1995-12-22T09:05:02 = 1995 K4
685 -0010-09-15T04:44:23 = -10 K3
689 2008-02-05T18:30:30 = 02.08
690 1995-12-22T09:05:02 = 12.95
691 -0010-09-15T04:44:23 = 09.10
695 2008-02-05T18:30:30 = 1 08
696 1995-12-22T09:05:02 = 4 95
697 -0010-09-15T04:44:23 = 3 10
699 =head3 yyyyMMMM (MMMM y)
701 2008-02-05T18:30:30 = februar 2008
702 1995-12-22T09:05:02 = desember 1995
703 -0010-09-15T04:44:23 = september -10
707 =head3 Prefers 24 hour time?
711 =head3 Local first day of the week
718 See L<DateTime::Locale>.
722 Dave Rolsky <autarch@urth.org>
726 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
727 free software; you can redistribute it and/or modify it under the same
728 terms as Perl itself.
730 This module was generated from data provided by the CLDR project, see
731 the LICENSE.cldr in this distribution for details on the CLDR data's