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 ro.xml
12 # The source file version number was 1.116, generated on
13 # 2009/06/15 03:46:25.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::ro;
25 use base 'DateTime::Locale::root';
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\,\ 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 = "dd\.MM\.yyyy";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "dd\.MM\.yyyy";
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 = [ "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du" ];
60 sub day_format_abbreviated { return $day_format_abbreviated }
63 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
66 my $day_format_wide = [ "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă", "duminică" ];
67 sub day_format_wide { return $day_format_wide }
70 sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
73 my $day_stand_alone_narrow = [ "L", "M", "M", "J", "V", "S", "D" ];
74 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
77 sub day_stand_alone_wide { $_[0]->day_format_wide() }
80 my $era_abbreviated = [ "î\.Hr\.", "d\.Hr\." ];
81 sub era_abbreviated { return $era_abbreviated }
84 sub era_narrow { $_[0]->era_abbreviated() }
87 my $era_wide = [ "înainte\ de\ Hristos", "după\ Hristos" ];
88 sub era_wide { return $era_wide }
91 my $first_day_of_week = "1";
92 sub first_day_of_week { return $first_day_of_week }
96 my $month_format_abbreviated = [ "ian\.", "feb\.", "mar\.", "apr\.", "mai", "iun\.", "iul\.", "aug\.", "sept\.", "oct\.", "nov\.", "dec\." ];
97 sub month_format_abbreviated { return $month_format_abbreviated }
100 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
103 my $month_format_wide = [ "ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie" ];
104 sub month_format_wide { return $month_format_wide }
107 sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
110 my $month_stand_alone_narrow = [ "I", "F", "M", "A", "M", "I", "I", "A", "S", "O", "N", "D" ];
111 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
114 sub month_stand_alone_wide { $_[0]->month_format_wide() }
117 my $quarter_format_abbreviated = [ "trim\.\ I", "trim\.\ II", "trim\.\ III", "trim\.\ IV" ];
118 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
121 my $quarter_format_narrow = [ "T1", "T2", "T3", "T4" ];
122 sub quarter_format_narrow { return $quarter_format_narrow }
125 my $quarter_format_wide = [ "trimestrul\ I", "trimestrul\ al\ II\-lea", "trimestrul\ al\ III\-lea", "trimestrul\ al\ IV\-lea" ];
126 sub quarter_format_wide { return $quarter_format_wide }
129 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
132 my $quarter_stand_alone_narrow = [ "T1", "T2", "T3", "T4" ];
133 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
136 my $quarter_stand_alone_wide = [ "trimestrul\ I", "trimestrul\ al\ II\-lea", "trimestrul\ al\ III\-lea", "trimestrul\ al\ IV\-lea" ];
137 sub quarter_stand_alone_wide { return $quarter_stand_alone_wide }
140 my $time_format_full = "HH\:mm\:ss\ zzzz";
141 sub time_format_full { return $time_format_full }
145 my $time_format_long = "HH\:mm\:ss\ z";
146 sub time_format_long { return $time_format_long }
150 my $time_format_medium = "HH\:mm\:ss";
151 sub time_format_medium { return $time_format_medium }
155 my $time_format_short = "HH\:mm";
156 sub time_format_short { return $time_format_short }
160 my $_format_for_EEEd = "EEE\ d";
161 sub _format_for_EEEd { return $_format_for_EEEd }
165 my $_format_for_Hm = "H\:mm";
166 sub _format_for_Hm { return $_format_for_Hm }
170 my $_format_for_M = "L";
171 sub _format_for_M { return $_format_for_M }
175 my $_format_for_MEd = "E\,\ d\ MMM";
176 sub _format_for_MEd { return $_format_for_MEd }
180 my $_format_for_MMM = "LLL";
181 sub _format_for_MMM { return $_format_for_MMM }
185 my $_format_for_MMMEEEd = "EEE\,\ d\ MMM";
186 sub _format_for_MMMEEEd { return $_format_for_MMMEEEd }
190 my $_format_for_MMMEd = "E\,\ d\ MMM";
191 sub _format_for_MMMEd { return $_format_for_MMMEd }
195 my $_format_for_MMMMEd = "E\,\ d\ MMMM";
196 sub _format_for_MMMMEd { return $_format_for_MMMMEd }
200 my $_format_for_MMMMd = "d\ MMMM";
201 sub _format_for_MMMMd { return $_format_for_MMMMd }
205 my $_format_for_MMMd = "d\ MMM";
206 sub _format_for_MMMd { return $_format_for_MMMd }
210 my $_format_for_MMdd = "dd\.MM";
211 sub _format_for_MMdd { return $_format_for_MMdd }
215 my $_format_for_Md = "d\.M";
216 sub _format_for_Md { return $_format_for_Md }
220 my $_format_for_d = "d";
221 sub _format_for_d { return $_format_for_d }
225 my $_format_for_ms = "mm\:ss";
226 sub _format_for_ms { return $_format_for_ms }
230 my $_format_for_y = "y";
231 sub _format_for_y { return $_format_for_y }
235 my $_format_for_yM = "M\.yyyy";
236 sub _format_for_yM { return $_format_for_yM }
240 my $_format_for_yMEd = "EEE\,\ d\/M\/yyyy";
241 sub _format_for_yMEd { return $_format_for_yMEd }
245 my $_format_for_yMMM = "MMM\ y";
246 sub _format_for_yMMM { return $_format_for_yMMM }
250 my $_format_for_yMMMEd = "EEE\,\ d\ MMM\ y";
251 sub _format_for_yMMMEd { return $_format_for_yMMMEd }
255 my $_format_for_yMMMM = "MMMM\ y";
256 sub _format_for_yMMMM { return $_format_for_yMMMM }
260 my $_format_for_yQ = "\'trimestrul\'\ Q\ y";
261 sub _format_for_yQ { return $_format_for_yQ }
265 my $_format_for_yQQQ = "QQQ\ y";
266 sub _format_for_yQQQ { return $_format_for_yQQQ }
270 my $_format_for_yyMM = "MM\.yy";
271 sub _format_for_yyMM { return $_format_for_yyMM }
275 my $_format_for_yyMMM = "MMM\ yy";
276 sub _format_for_yyMMM { return $_format_for_yyMMM }
280 my $_format_for_yyQ = "Q\ yy";
281 sub _format_for_yyQ { return $_format_for_yyQ }
285 my $_format_for_yyyyMM = "MM\.yyyy";
286 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
290 my $_format_for_yyyyMMMM = "MMMM\ y";
291 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
295 my $_available_formats =
300 "MEd" => "E\,\ d\ MMM",
302 "MMMEEEd" => "EEE\,\ d\ MMM",
303 "MMMEd" => "E\,\ d\ MMM",
304 "MMMMEd" => "E\,\ d\ MMMM",
305 "MMMMd" => "d\ MMMM",
313 "yMEd" => "EEE\,\ d\/M\/yyyy",
315 "yMMMEd" => "EEE\,\ d\ MMM\ y",
316 "yMMMM" => "MMMM\ y",
317 "yQ" => "\'trimestrul\'\ Q\ y",
320 "yyMMM" => "MMM\ yy",
322 "yyyyMM" => "MM\.yyyy",
323 "yyyyMMMM" => "MMMM\ y"
325 sub _available_formats { return $_available_formats }
345 my $dt = DateTime->now( locale => 'ro' );
346 print $dt->month_name();
350 This is the DateTime locale package for Romanian.
354 This locale inherits from the L<DateTime::Locale::root> locale.
356 It contains the following data.
370 =head3 Abbreviated (format)
380 =head3 Narrow (format)
390 =head3 Wide (stand-alone)
400 =head3 Abbreviated (stand-alone)
410 =head3 Narrow (stand-alone)
437 =head3 Abbreviated (format)
452 =head3 Narrow (format)
467 =head3 Wide (stand-alone)
482 =head3 Abbreviated (stand-alone)
497 =head3 Narrow (stand-alone)
518 trimestrul al III-lea
521 =head3 Abbreviated (format)
528 =head3 Narrow (format)
535 =head3 Wide (stand-alone)
539 trimestrul al III-lea
542 =head3 Abbreviated (stand-alone)
549 =head3 Narrow (stand-alone)
577 2008-02-05T18:30:30 = marți, 5 februarie 2008
578 1995-12-22T09:05:02 = vineri, 22 decembrie 1995
579 -0010-09-15T04:44:23 = sâmbătă, 15 septembrie -10
583 2008-02-05T18:30:30 = 5 februarie 2008
584 1995-12-22T09:05:02 = 22 decembrie 1995
585 -0010-09-15T04:44:23 = 15 septembrie -10
589 2008-02-05T18:30:30 = 05.02.2008
590 1995-12-22T09:05:02 = 22.12.1995
591 -0010-09-15T04:44:23 = 15.09.-010
595 2008-02-05T18:30:30 = 05.02.2008
596 1995-12-22T09:05:02 = 22.12.1995
597 -0010-09-15T04:44:23 = 15.09.-010
601 2008-02-05T18:30:30 = 05.02.2008
602 1995-12-22T09:05:02 = 22.12.1995
603 -0010-09-15T04:44:23 = 15.09.-010
609 2008-02-05T18:30:30 = 18:30:30 UTC
610 1995-12-22T09:05:02 = 09:05:02 UTC
611 -0010-09-15T04:44:23 = 04:44:23 UTC
615 2008-02-05T18:30:30 = 18:30:30 UTC
616 1995-12-22T09:05:02 = 09:05:02 UTC
617 -0010-09-15T04:44:23 = 04:44:23 UTC
621 2008-02-05T18:30:30 = 18:30:30
622 1995-12-22T09:05:02 = 09:05:02
623 -0010-09-15T04:44:23 = 04:44:23
627 2008-02-05T18:30:30 = 18:30
628 1995-12-22T09:05:02 = 09:05
629 -0010-09-15T04:44:23 = 04:44
633 2008-02-05T18:30:30 = 18:30:30
634 1995-12-22T09:05:02 = 09:05:02
635 -0010-09-15T04:44:23 = 04:44:23
637 =head2 Datetime Formats
641 2008-02-05T18:30:30 = marți, 5 februarie 2008, 18:30:30 UTC
642 1995-12-22T09:05:02 = vineri, 22 decembrie 1995, 09:05:02 UTC
643 -0010-09-15T04:44:23 = sâmbătă, 15 septembrie -10, 04:44:23 UTC
647 2008-02-05T18:30:30 = 5 februarie 2008, 18:30:30 UTC
648 1995-12-22T09:05:02 = 22 decembrie 1995, 09:05:02 UTC
649 -0010-09-15T04:44:23 = 15 septembrie -10, 04:44:23 UTC
653 2008-02-05T18:30:30 = 05.02.2008, 18:30:30
654 1995-12-22T09:05:02 = 22.12.1995, 09:05:02
655 -0010-09-15T04:44:23 = 15.09.-010, 04:44:23
659 2008-02-05T18:30:30 = 05.02.2008, 18:30
660 1995-12-22T09:05:02 = 22.12.1995, 09:05
661 -0010-09-15T04:44:23 = 15.09.-010, 04:44
665 2008-02-05T18:30:30 = 05.02.2008, 18:30:30
666 1995-12-22T09:05:02 = 22.12.1995, 09:05:02
667 -0010-09-15T04:44:23 = 15.09.-010, 04:44:23
669 =head2 Available Formats
673 2008-02-05T18:30:30 = Ma 5
674 1995-12-22T09:05:02 = Vi 22
675 -0010-09-15T04:44:23 = Sâ 15
679 2008-02-05T18:30:30 = 18:30
680 1995-12-22T09:05:02 = 9:05
681 -0010-09-15T04:44:23 = 4:44
685 2008-02-05T18:30:30 = 18:30:30
686 1995-12-22T09:05:02 = 9:05:02
687 -0010-09-15T04:44:23 = 4:44:23
691 2008-02-05T18:30:30 = 2
692 1995-12-22T09:05:02 = 12
693 -0010-09-15T04:44:23 = 9
695 =head3 MEd (E, d MMM)
697 2008-02-05T18:30:30 = Ma, 5 feb.
698 1995-12-22T09:05:02 = Vi, 22 dec.
699 -0010-09-15T04:44:23 = Sâ, 15 sept.
703 2008-02-05T18:30:30 = feb.
704 1995-12-22T09:05:02 = dec.
705 -0010-09-15T04:44:23 = sept.
707 =head3 MMMEEEd (EEE, d MMM)
709 2008-02-05T18:30:30 = Ma, 5 feb.
710 1995-12-22T09:05:02 = Vi, 22 dec.
711 -0010-09-15T04:44:23 = Sâ, 15 sept.
713 =head3 MMMEd (E, d MMM)
715 2008-02-05T18:30:30 = Ma, 5 feb.
716 1995-12-22T09:05:02 = Vi, 22 dec.
717 -0010-09-15T04:44:23 = Sâ, 15 sept.
719 =head3 MMMMEd (E, d MMMM)
721 2008-02-05T18:30:30 = Ma, 5 februarie
722 1995-12-22T09:05:02 = Vi, 22 decembrie
723 -0010-09-15T04:44:23 = Sâ, 15 septembrie
725 =head3 MMMMd (d MMMM)
727 2008-02-05T18:30:30 = 5 februarie
728 1995-12-22T09:05:02 = 22 decembrie
729 -0010-09-15T04:44:23 = 15 septembrie
733 2008-02-05T18:30:30 = 5 feb.
734 1995-12-22T09:05:02 = 22 dec.
735 -0010-09-15T04:44:23 = 15 sept.
739 2008-02-05T18:30:30 = 05.02
740 1995-12-22T09:05:02 = 22.12
741 -0010-09-15T04:44:23 = 15.09
745 2008-02-05T18:30:30 = 5.2
746 1995-12-22T09:05:02 = 22.12
747 -0010-09-15T04:44:23 = 15.9
751 2008-02-05T18:30:30 = 5
752 1995-12-22T09:05:02 = 22
753 -0010-09-15T04:44:23 = 15
757 2008-02-05T18:30:30 = 6:30 PM
758 1995-12-22T09:05:02 = 9:05 AM
759 -0010-09-15T04:44:23 = 4:44 AM
761 =head3 hms (h:mm:ss a)
763 2008-02-05T18:30:30 = 6:30:30 PM
764 1995-12-22T09:05:02 = 9:05:02 AM
765 -0010-09-15T04:44:23 = 4:44:23 AM
769 2008-02-05T18:30:30 = 30:30
770 1995-12-22T09:05:02 = 05:02
771 -0010-09-15T04:44:23 = 44:23
775 2008-02-05T18:30:30 = 2008
776 1995-12-22T09:05:02 = 1995
777 -0010-09-15T04:44:23 = -10
781 2008-02-05T18:30:30 = 2.2008
782 1995-12-22T09:05:02 = 12.1995
783 -0010-09-15T04:44:23 = 9.-010
785 =head3 yMEd (EEE, d/M/yyyy)
787 2008-02-05T18:30:30 = Ma, 5/2/2008
788 1995-12-22T09:05:02 = Vi, 22/12/1995
789 -0010-09-15T04:44:23 = Sâ, 15/9/-010
793 2008-02-05T18:30:30 = feb. 2008
794 1995-12-22T09:05:02 = dec. 1995
795 -0010-09-15T04:44:23 = sept. -10
797 =head3 yMMMEd (EEE, d MMM y)
799 2008-02-05T18:30:30 = Ma, 5 feb. 2008
800 1995-12-22T09:05:02 = Vi, 22 dec. 1995
801 -0010-09-15T04:44:23 = Sâ, 15 sept. -10
803 =head3 yMMMM (MMMM y)
805 2008-02-05T18:30:30 = februarie 2008
806 1995-12-22T09:05:02 = decembrie 1995
807 -0010-09-15T04:44:23 = septembrie -10
809 =head3 yQ ('trimestrul' Q y)
811 2008-02-05T18:30:30 = trimestrul 1 2008
812 1995-12-22T09:05:02 = trimestrul 4 1995
813 -0010-09-15T04:44:23 = trimestrul 3 -10
817 2008-02-05T18:30:30 = trim. I 2008
818 1995-12-22T09:05:02 = trim. IV 1995
819 -0010-09-15T04:44:23 = trim. III -10
823 2008-02-05T18:30:30 = 02.08
824 1995-12-22T09:05:02 = 12.95
825 -0010-09-15T04:44:23 = 09.10
827 =head3 yyMMM (MMM yy)
829 2008-02-05T18:30:30 = feb. 08
830 1995-12-22T09:05:02 = dec. 95
831 -0010-09-15T04:44:23 = sept. 10
835 2008-02-05T18:30:30 = 1 08
836 1995-12-22T09:05:02 = 4 95
837 -0010-09-15T04:44:23 = 3 10
839 =head3 yyyyMM (MM.yyyy)
841 2008-02-05T18:30:30 = 02.2008
842 1995-12-22T09:05:02 = 12.1995
843 -0010-09-15T04:44:23 = 09.-010
845 =head3 yyyyMMMM (MMMM y)
847 2008-02-05T18:30:30 = februarie 2008
848 1995-12-22T09:05:02 = decembrie 1995
849 -0010-09-15T04:44:23 = septembrie -10
853 =head3 Prefers 24 hour time?
857 =head3 Local first day of the week
864 See L<DateTime::Locale>.
868 Dave Rolsky <autarch@urth.org>
872 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
873 free software; you can redistribute it and/or modify it under the same
874 terms as Perl itself.
876 This module was generated from data provided by the CLDR project, see
877 the LICENSE.cldr in this distribution for details on the CLDR data's