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 root.xml
12 # The source file version number was 1.192, generated on
13 # 2009/06/15 21:39:59.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::root;
25 use base 'DateTime::Locale::Base';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "AM", "PM" ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
34 my $date_format_full = "EEEE\,\ y\ MMMM\ dd";
35 sub date_format_full { return $date_format_full }
39 my $date_format_long = "y\ MMMM\ d";
40 sub date_format_long { return $date_format_long }
44 my $date_format_medium = "y\ MMM\ d";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "yyyy\-MM\-dd";
50 sub date_format_short { return $date_format_short }
54 my $datetime_format = "\{1\}\ \{0\}";
55 sub datetime_format { return $datetime_format }
59 my $day_format_abbreviated = [ "2", "3", "4", "5", "6", "7", "1" ];
60 sub day_format_abbreviated { return $day_format_abbreviated }
63 my $day_format_narrow = [ "2", "3", "4", "5", "6", "7", "1" ];
64 sub day_format_narrow { return $day_format_narrow }
67 my $day_format_wide = [ "2", "3", "4", "5", "6", "7", "1" ];
68 sub day_format_wide { return $day_format_wide }
71 my $day_stand_alone_abbreviated = [ "2", "3", "4", "5", "6", "7", "1" ];
72 sub day_stand_alone_abbreviated { return $day_stand_alone_abbreviated }
75 my $day_stand_alone_narrow = [ "2", "3", "4", "5", "6", "7", "1" ];
76 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
79 my $day_stand_alone_wide = [ "2", "3", "4", "5", "6", "7", "1" ];
80 sub day_stand_alone_wide { return $day_stand_alone_wide }
83 my $era_abbreviated = [ "BCE", "CE" ];
84 sub era_abbreviated { return $era_abbreviated }
87 my $era_narrow = [ "BCE", "CE" ];
88 sub era_narrow { return $era_narrow }
91 my $era_wide = [ "BCE", "CE" ];
92 sub era_wide { return $era_wide }
95 my $first_day_of_week = "1";
96 sub first_day_of_week { return $first_day_of_week }
100 my $month_format_abbreviated = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
101 sub month_format_abbreviated { return $month_format_abbreviated }
104 my $month_format_narrow = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
105 sub month_format_narrow { return $month_format_narrow }
108 my $month_format_wide = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
109 sub month_format_wide { return $month_format_wide }
112 my $month_stand_alone_abbreviated = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
113 sub month_stand_alone_abbreviated { return $month_stand_alone_abbreviated }
116 my $month_stand_alone_narrow = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
117 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
120 my $month_stand_alone_wide = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
121 sub month_stand_alone_wide { return $month_stand_alone_wide }
124 my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
125 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
128 my $quarter_format_narrow = [ "1", "2", "3", "4" ];
129 sub quarter_format_narrow { return $quarter_format_narrow }
132 my $quarter_format_wide = [ "Q1", "Q2", "Q3", "Q4" ];
133 sub quarter_format_wide { return $quarter_format_wide }
136 my $quarter_stand_alone_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
137 sub quarter_stand_alone_abbreviated { return $quarter_stand_alone_abbreviated }
140 my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
141 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
144 my $quarter_stand_alone_wide = [ "Q1", "Q2", "Q3", "Q4" ];
145 sub quarter_stand_alone_wide { return $quarter_stand_alone_wide }
148 my $time_format_full = "HH\:mm\:ss\ zzzz";
149 sub time_format_full { return $time_format_full }
153 my $time_format_long = "HH\:mm\:ss\ z";
154 sub time_format_long { return $time_format_long }
158 my $time_format_medium = "HH\:mm\:ss";
159 sub time_format_medium { return $time_format_medium }
163 my $time_format_short = "HH\:mm";
164 sub time_format_short { return $time_format_short }
168 my $_default_date_format_length = "medium";
169 sub _default_date_format_length { return $_default_date_format_length }
173 my $_default_time_format_length = "medium";
174 sub _default_time_format_length { return $_default_time_format_length }
178 my $_format_for_EEEd = "d\ EEE";
179 sub _format_for_EEEd { return $_format_for_EEEd }
183 my $_format_for_Hm = "H\:mm";
184 sub _format_for_Hm { return $_format_for_Hm }
188 my $_format_for_Hms = "H\:mm\:ss";
189 sub _format_for_Hms { return $_format_for_Hms }
193 my $_format_for_M = "L";
194 sub _format_for_M { return $_format_for_M }
198 my $_format_for_MEd = "E\,\ M\-d";
199 sub _format_for_MEd { return $_format_for_MEd }
203 my $_format_for_MMM = "LLL";
204 sub _format_for_MMM { return $_format_for_MMM }
208 my $_format_for_MMMEd = "E\ MMM\ d";
209 sub _format_for_MMMEd { return $_format_for_MMMEd }
213 my $_format_for_MMMMEd = "E\ MMMM\ d";
214 sub _format_for_MMMMEd { return $_format_for_MMMMEd }
218 my $_format_for_MMMMd = "MMMM\ d";
219 sub _format_for_MMMMd { return $_format_for_MMMMd }
223 my $_format_for_MMMd = "MMM\ d";
224 sub _format_for_MMMd { return $_format_for_MMMd }
228 my $_format_for_Md = "M\-d";
229 sub _format_for_Md { return $_format_for_Md }
233 my $_format_for_d = "d";
234 sub _format_for_d { return $_format_for_d }
238 my $_format_for_hm = "h\:mm\ a";
239 sub _format_for_hm { return $_format_for_hm }
243 my $_format_for_hms = "h\:mm\:ss\ a";
244 sub _format_for_hms { return $_format_for_hms }
248 my $_format_for_ms = "mm\:ss";
249 sub _format_for_ms { return $_format_for_ms }
253 my $_format_for_y = "y";
254 sub _format_for_y { return $_format_for_y }
258 my $_format_for_yM = "y\-M";
259 sub _format_for_yM { return $_format_for_yM }
263 my $_format_for_yMEd = "EEE\,\ y\-M\-d";
264 sub _format_for_yMEd { return $_format_for_yMEd }
268 my $_format_for_yMMM = "y\ MMM";
269 sub _format_for_yMMM { return $_format_for_yMMM }
273 my $_format_for_yMMMEd = "EEE\,\ y\ MMM\ d";
274 sub _format_for_yMMMEd { return $_format_for_yMMMEd }
278 my $_format_for_yMMMM = "y\ MMMM";
279 sub _format_for_yMMMM { return $_format_for_yMMMM }
283 my $_format_for_yQ = "y\ Q";
284 sub _format_for_yQ { return $_format_for_yQ }
288 my $_format_for_yQQQ = "y\ QQQ";
289 sub _format_for_yQQQ { return $_format_for_yQQQ }
293 my $_available_formats =
297 "Hms" => "H\:mm\:ss",
299 "MEd" => "E\,\ M\-d",
301 "MMMEd" => "E\ MMM\ d",
302 "MMMMEd" => "E\ MMMM\ d",
303 "MMMMd" => "MMMM\ d",
308 "hms" => "h\:mm\:ss\ a",
312 "yMEd" => "EEE\,\ y\-M\-d",
314 "yMMMEd" => "EEE\,\ y\ MMM\ d",
315 "yMMMM" => "y\ MMMM",
319 sub _available_formats { return $_available_formats }
333 DateTime::Locale::root
339 my $dt = DateTime->now( locale => 'root' );
340 print $dt->month_name();
344 This is the DateTime locale package for Root.
348 It contains the following data.
362 =head3 Abbreviated (format)
372 =head3 Narrow (format)
382 =head3 Wide (stand-alone)
392 =head3 Abbreviated (stand-alone)
402 =head3 Narrow (stand-alone)
429 =head3 Abbreviated (format)
444 =head3 Narrow (format)
459 =head3 Wide (stand-alone)
474 =head3 Abbreviated (stand-alone)
489 =head3 Narrow (stand-alone)
513 =head3 Abbreviated (format)
520 =head3 Narrow (format)
527 =head3 Wide (stand-alone)
534 =head3 Abbreviated (stand-alone)
541 =head3 Narrow (stand-alone)
569 2008-02-05T18:30:30 = 3, 2008 2 05
570 1995-12-22T09:05:02 = 6, 1995 12 22
571 -0010-09-15T04:44:23 = 7, -10 9 15
575 2008-02-05T18:30:30 = 2008 2 5
576 1995-12-22T09:05:02 = 1995 12 22
577 -0010-09-15T04:44:23 = -10 9 15
581 2008-02-05T18:30:30 = 2008 2 5
582 1995-12-22T09:05:02 = 1995 12 22
583 -0010-09-15T04:44:23 = -10 9 15
587 2008-02-05T18:30:30 = 2008-02-05
588 1995-12-22T09:05:02 = 1995-12-22
589 -0010-09-15T04:44:23 = -010-09-15
593 2008-02-05T18:30:30 = 2008 2 5
594 1995-12-22T09:05:02 = 1995 12 22
595 -0010-09-15T04:44:23 = -10 9 15
601 2008-02-05T18:30:30 = 18:30:30 UTC
602 1995-12-22T09:05:02 = 09:05:02 UTC
603 -0010-09-15T04:44:23 = 04:44:23 UTC
607 2008-02-05T18:30:30 = 18:30:30 UTC
608 1995-12-22T09:05:02 = 09:05:02 UTC
609 -0010-09-15T04:44:23 = 04:44:23 UTC
613 2008-02-05T18:30:30 = 18:30:30
614 1995-12-22T09:05:02 = 09:05:02
615 -0010-09-15T04:44:23 = 04:44:23
619 2008-02-05T18:30:30 = 18:30
620 1995-12-22T09:05:02 = 09:05
621 -0010-09-15T04:44:23 = 04:44
625 2008-02-05T18:30:30 = 18:30:30
626 1995-12-22T09:05:02 = 09:05:02
627 -0010-09-15T04:44:23 = 04:44:23
629 =head2 Datetime Formats
633 2008-02-05T18:30:30 = 3, 2008 2 05 18:30:30 UTC
634 1995-12-22T09:05:02 = 6, 1995 12 22 09:05:02 UTC
635 -0010-09-15T04:44:23 = 7, -10 9 15 04:44:23 UTC
639 2008-02-05T18:30:30 = 2008 2 5 18:30:30 UTC
640 1995-12-22T09:05:02 = 1995 12 22 09:05:02 UTC
641 -0010-09-15T04:44:23 = -10 9 15 04:44:23 UTC
645 2008-02-05T18:30:30 = 2008 2 5 18:30:30
646 1995-12-22T09:05:02 = 1995 12 22 09:05:02
647 -0010-09-15T04:44:23 = -10 9 15 04:44:23
651 2008-02-05T18:30:30 = 2008-02-05 18:30
652 1995-12-22T09:05:02 = 1995-12-22 09:05
653 -0010-09-15T04:44:23 = -010-09-15 04:44
657 2008-02-05T18:30:30 = 2008 2 5 18:30:30
658 1995-12-22T09:05:02 = 1995 12 22 09:05:02
659 -0010-09-15T04:44:23 = -10 9 15 04:44:23
661 =head2 Available Formats
665 2008-02-05T18:30:30 = 5 3
666 1995-12-22T09:05:02 = 22 6
667 -0010-09-15T04:44:23 = 15 7
671 2008-02-05T18:30:30 = 18:30
672 1995-12-22T09:05:02 = 9:05
673 -0010-09-15T04:44:23 = 4:44
677 2008-02-05T18:30:30 = 18:30:30
678 1995-12-22T09:05:02 = 9:05:02
679 -0010-09-15T04:44:23 = 4:44:23
683 2008-02-05T18:30:30 = 2
684 1995-12-22T09:05:02 = 12
685 -0010-09-15T04:44:23 = 9
689 2008-02-05T18:30:30 = 3, 2-5
690 1995-12-22T09:05:02 = 6, 12-22
691 -0010-09-15T04:44:23 = 7, 9-15
695 2008-02-05T18:30:30 = 2
696 1995-12-22T09:05:02 = 12
697 -0010-09-15T04:44:23 = 9
699 =head3 MMMEd (E MMM d)
701 2008-02-05T18:30:30 = 3 2 5
702 1995-12-22T09:05:02 = 6 12 22
703 -0010-09-15T04:44:23 = 7 9 15
705 =head3 MMMMEd (E MMMM d)
707 2008-02-05T18:30:30 = 3 2 5
708 1995-12-22T09:05:02 = 6 12 22
709 -0010-09-15T04:44:23 = 7 9 15
711 =head3 MMMMd (MMMM d)
713 2008-02-05T18:30:30 = 2 5
714 1995-12-22T09:05:02 = 12 22
715 -0010-09-15T04:44:23 = 9 15
719 2008-02-05T18:30:30 = 2 5
720 1995-12-22T09:05:02 = 12 22
721 -0010-09-15T04:44:23 = 9 15
725 2008-02-05T18:30:30 = 2-5
726 1995-12-22T09:05:02 = 12-22
727 -0010-09-15T04:44:23 = 9-15
731 2008-02-05T18:30:30 = 5
732 1995-12-22T09:05:02 = 22
733 -0010-09-15T04:44:23 = 15
737 2008-02-05T18:30:30 = 6:30 PM
738 1995-12-22T09:05:02 = 9:05 AM
739 -0010-09-15T04:44:23 = 4:44 AM
741 =head3 hms (h:mm:ss a)
743 2008-02-05T18:30:30 = 6:30:30 PM
744 1995-12-22T09:05:02 = 9:05:02 AM
745 -0010-09-15T04:44:23 = 4:44:23 AM
749 2008-02-05T18:30:30 = 30:30
750 1995-12-22T09:05:02 = 05:02
751 -0010-09-15T04:44:23 = 44:23
755 2008-02-05T18:30:30 = 2008
756 1995-12-22T09:05:02 = 1995
757 -0010-09-15T04:44:23 = -10
761 2008-02-05T18:30:30 = 2008-2
762 1995-12-22T09:05:02 = 1995-12
763 -0010-09-15T04:44:23 = -10-9
765 =head3 yMEd (EEE, y-M-d)
767 2008-02-05T18:30:30 = 3, 2008-2-5
768 1995-12-22T09:05:02 = 6, 1995-12-22
769 -0010-09-15T04:44:23 = 7, -10-9-15
773 2008-02-05T18:30:30 = 2008 2
774 1995-12-22T09:05:02 = 1995 12
775 -0010-09-15T04:44:23 = -10 9
777 =head3 yMMMEd (EEE, y MMM d)
779 2008-02-05T18:30:30 = 3, 2008 2 5
780 1995-12-22T09:05:02 = 6, 1995 12 22
781 -0010-09-15T04:44:23 = 7, -10 9 15
783 =head3 yMMMM (y MMMM)
785 2008-02-05T18:30:30 = 2008 2
786 1995-12-22T09:05:02 = 1995 12
787 -0010-09-15T04:44:23 = -10 9
791 2008-02-05T18:30:30 = 2008 1
792 1995-12-22T09:05:02 = 1995 4
793 -0010-09-15T04:44:23 = -10 3
797 2008-02-05T18:30:30 = 2008 Q1
798 1995-12-22T09:05:02 = 1995 Q4
799 -0010-09-15T04:44:23 = -10 Q3
803 =head3 Prefers 24 hour time?
807 =head3 Local first day of the week
814 See L<DateTime::Locale>.
818 Dave Rolsky <autarch@urth.org>
822 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
823 free software; you can redistribute it and/or modify it under the same
824 terms as Perl itself.
826 This module was generated from data provided by the CLDR project, see
827 the LICENSE.cldr in this distribution for details on the CLDR data's