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 sl.xml
12 # The source file version number was 1.114, generated on
13 # 2009/06/15 04:15:33.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::sl;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "dop\.", "pop\." ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
34 my $date_format_full = "EEEE\,\ dd\.\ MMMM\ y";
35 sub date_format_full { return $date_format_full }
39 my $date_format_long = "dd\.\ MMMM\ y";
40 sub date_format_long { return $date_format_long }
44 my $date_format_medium = "d\.\ MMM\.\ yyyy";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "d\.\ MM\.\ yy";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "pon", "tor", "sre", "čet", "pet", "sob", "ned" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "ponedeljek", "torek", "sreda", "četrtek", "petek", "sobota", "nedelja" ];
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 = [ "p", "t", "s", "č", "p", "s", "n" ];
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 = [ "pr\.\ n\.\ št\.", "po\ Kr\." ];
76 sub era_abbreviated { return $era_abbreviated }
79 sub era_narrow { $_[0]->era_abbreviated() }
82 my $era_wide = [ "pred\ našim\ štetjem", "naše\ štetje" ];
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", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec" ];
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", "marec", "april", "maj", "junij", "julij", "avgust", "september", "oktober", "november", "december" ];
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 = [ "Q1", "Q2", "Q3", "Q4" ];
113 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
116 sub quarter_format_narrow { $_[0]->quarter_stand_alone_narrow() }
119 my $quarter_format_wide = [ "1\.\ četrtletje", "2\.\ četrtletje", "3\.\ četrtletje", "4\.\ četrtletje" ];
120 sub quarter_format_wide { return $quarter_format_wide }
123 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
126 my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
127 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
130 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
133 my $time_format_full = "H\:mm\:ss\ zzzz";
134 sub time_format_full { return $time_format_full }
138 my $time_format_long = "HH\:mm\:ss\ z";
139 sub time_format_long { return $time_format_long }
143 my $time_format_medium = "HH\:mm\:ss";
144 sub time_format_medium { return $time_format_medium }
148 my $time_format_short = "HH\:mm";
149 sub time_format_short { return $time_format_short }
153 my $_format_for_HHmm = "HH\:mm";
154 sub _format_for_HHmm { return $_format_for_HHmm }
158 my $_format_for_HHmmss = "HH\:mm\:ss";
159 sub _format_for_HHmmss { return $_format_for_HHmmss }
163 my $_format_for_MMMMd = "d\.\ MMMM";
164 sub _format_for_MMMMd { return $_format_for_MMMMd }
168 my $_format_for_MMMMdd = "dd\.\ MMMM";
169 sub _format_for_MMMMdd { return $_format_for_MMMMdd }
173 my $_format_for_Md = "d\.\ M\.";
174 sub _format_for_Md { return $_format_for_Md }
178 my $_format_for_mmss = "mm\:ss";
179 sub _format_for_mmss { return $_format_for_mmss }
183 my $_format_for_ms = "mm\:ss";
184 sub _format_for_ms { return $_format_for_ms }
188 my $_format_for_y = "y";
189 sub _format_for_y { return $_format_for_y }
193 my $_format_for_yyQ = "Q\/yy";
194 sub _format_for_yyQ { return $_format_for_yyQ }
198 my $_format_for_yyyyM = "M\/yyyy";
199 sub _format_for_yyyyM { return $_format_for_yyyyM }
203 my $_format_for_yyyyMMMM = "MMMM\ y";
204 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
208 my $_available_formats =
211 "HHmmss" => "HH\:mm\:ss",
212 "MMMMd" => "d\.\ MMMM",
213 "MMMMdd" => "dd\.\ MMMM",
219 "yyyyM" => "M\/yyyy",
220 "yyyyMMMM" => "MMMM\ y"
222 sub _available_formats { return $_available_formats }
242 my $dt = DateTime->now( locale => 'sl' );
243 print $dt->month_name();
247 This is the DateTime locale package for Slovenian.
251 This locale inherits from the L<DateTime::Locale::root> locale.
253 It contains the following data.
267 =head3 Abbreviated (format)
277 =head3 Narrow (format)
287 =head3 Wide (stand-alone)
297 =head3 Abbreviated (stand-alone)
307 =head3 Narrow (stand-alone)
334 =head3 Abbreviated (format)
349 =head3 Narrow (format)
364 =head3 Wide (stand-alone)
379 =head3 Abbreviated (stand-alone)
394 =head3 Narrow (stand-alone)
418 =head3 Abbreviated (format)
425 =head3 Narrow (format)
432 =head3 Wide (stand-alone)
439 =head3 Abbreviated (stand-alone)
446 =head3 Narrow (stand-alone)
474 2008-02-05T18:30:30 = torek, 05. februar 2008
475 1995-12-22T09:05:02 = petek, 22. december 1995
476 -0010-09-15T04:44:23 = sobota, 15. september -10
480 2008-02-05T18:30:30 = 05. februar 2008
481 1995-12-22T09:05:02 = 22. december 1995
482 -0010-09-15T04:44:23 = 15. september -10
486 2008-02-05T18:30:30 = 5. feb. 2008
487 1995-12-22T09:05:02 = 22. dec. 1995
488 -0010-09-15T04:44:23 = 15. sep. -010
492 2008-02-05T18:30:30 = 5. 02. 08
493 1995-12-22T09:05:02 = 22. 12. 95
494 -0010-09-15T04:44:23 = 15. 09. 10
498 2008-02-05T18:30:30 = 5. feb. 2008
499 1995-12-22T09:05:02 = 22. dec. 1995
500 -0010-09-15T04:44:23 = 15. sep. -010
506 2008-02-05T18:30:30 = 18:30:30 UTC
507 1995-12-22T09:05:02 = 9:05:02 UTC
508 -0010-09-15T04:44:23 = 4:44:23 UTC
512 2008-02-05T18:30:30 = 18:30:30 UTC
513 1995-12-22T09:05:02 = 09:05:02 UTC
514 -0010-09-15T04:44:23 = 04:44:23 UTC
518 2008-02-05T18:30:30 = 18:30:30
519 1995-12-22T09:05:02 = 09:05:02
520 -0010-09-15T04:44:23 = 04:44:23
524 2008-02-05T18:30:30 = 18:30
525 1995-12-22T09:05:02 = 09:05
526 -0010-09-15T04:44:23 = 04:44
530 2008-02-05T18:30:30 = 18:30:30
531 1995-12-22T09:05:02 = 09:05:02
532 -0010-09-15T04:44:23 = 04:44:23
534 =head2 Datetime Formats
538 2008-02-05T18:30:30 = torek, 05. februar 2008 18:30:30 UTC
539 1995-12-22T09:05:02 = petek, 22. december 1995 9:05:02 UTC
540 -0010-09-15T04:44:23 = sobota, 15. september -10 4:44:23 UTC
544 2008-02-05T18:30:30 = 05. februar 2008 18:30:30 UTC
545 1995-12-22T09:05:02 = 22. december 1995 09:05:02 UTC
546 -0010-09-15T04:44:23 = 15. september -10 04:44:23 UTC
550 2008-02-05T18:30:30 = 5. feb. 2008 18:30:30
551 1995-12-22T09:05:02 = 22. dec. 1995 09:05:02
552 -0010-09-15T04:44:23 = 15. sep. -010 04:44:23
556 2008-02-05T18:30:30 = 5. 02. 08 18:30
557 1995-12-22T09:05:02 = 22. 12. 95 09:05
558 -0010-09-15T04:44:23 = 15. 09. 10 04:44
562 2008-02-05T18:30:30 = 5. feb. 2008 18:30:30
563 1995-12-22T09:05:02 = 22. dec. 1995 09:05:02
564 -0010-09-15T04:44:23 = 15. sep. -010 04:44:23
566 =head2 Available Formats
570 2008-02-05T18:30:30 = 5 tor
571 1995-12-22T09:05:02 = 22 pet
572 -0010-09-15T04:44:23 = 15 sob
576 2008-02-05T18:30:30 = 18:30
577 1995-12-22T09:05:02 = 09:05
578 -0010-09-15T04:44:23 = 04:44
580 =head3 HHmmss (HH:mm:ss)
582 2008-02-05T18:30:30 = 18:30:30
583 1995-12-22T09:05:02 = 09:05:02
584 -0010-09-15T04:44:23 = 04:44:23
588 2008-02-05T18:30:30 = 18:30
589 1995-12-22T09:05:02 = 9:05
590 -0010-09-15T04:44:23 = 4:44
594 2008-02-05T18:30:30 = 18:30:30
595 1995-12-22T09:05:02 = 9:05:02
596 -0010-09-15T04:44:23 = 4:44:23
600 2008-02-05T18:30:30 = 2
601 1995-12-22T09:05:02 = 12
602 -0010-09-15T04:44:23 = 9
606 2008-02-05T18:30:30 = tor, 2-5
607 1995-12-22T09:05:02 = pet, 12-22
608 -0010-09-15T04:44:23 = sob, 9-15
612 2008-02-05T18:30:30 = feb
613 1995-12-22T09:05:02 = dec
614 -0010-09-15T04:44:23 = sep
616 =head3 MMMEd (E MMM d)
618 2008-02-05T18:30:30 = tor feb 5
619 1995-12-22T09:05:02 = pet dec 22
620 -0010-09-15T04:44:23 = sob sep 15
622 =head3 MMMMEd (E MMMM d)
624 2008-02-05T18:30:30 = tor februar 5
625 1995-12-22T09:05:02 = pet december 22
626 -0010-09-15T04:44:23 = sob september 15
628 =head3 MMMMd (d. MMMM)
630 2008-02-05T18:30:30 = 5. februar
631 1995-12-22T09:05:02 = 22. december
632 -0010-09-15T04:44:23 = 15. september
634 =head3 MMMMdd (dd. MMMM)
636 2008-02-05T18:30:30 = 05. februar
637 1995-12-22T09:05:02 = 22. december
638 -0010-09-15T04:44:23 = 15. september
642 2008-02-05T18:30:30 = feb 5
643 1995-12-22T09:05:02 = dec 22
644 -0010-09-15T04:44:23 = sep 15
648 2008-02-05T18:30:30 = 5. 2.
649 1995-12-22T09:05:02 = 22. 12.
650 -0010-09-15T04:44:23 = 15. 9.
654 2008-02-05T18:30:30 = 5
655 1995-12-22T09:05:02 = 22
656 -0010-09-15T04:44:23 = 15
660 2008-02-05T18:30:30 = 6:30 pop.
661 1995-12-22T09:05:02 = 9:05 dop.
662 -0010-09-15T04:44:23 = 4:44 dop.
664 =head3 hms (h:mm:ss a)
666 2008-02-05T18:30:30 = 6:30:30 pop.
667 1995-12-22T09:05:02 = 9:05:02 dop.
668 -0010-09-15T04:44:23 = 4:44:23 dop.
672 2008-02-05T18:30:30 = 30:30
673 1995-12-22T09:05:02 = 05:02
674 -0010-09-15T04:44:23 = 44:23
678 2008-02-05T18:30:30 = 30:30
679 1995-12-22T09:05:02 = 05:02
680 -0010-09-15T04:44:23 = 44:23
684 2008-02-05T18:30:30 = 2008
685 1995-12-22T09:05:02 = 1995
686 -0010-09-15T04:44:23 = -10
690 2008-02-05T18:30:30 = 2008-2
691 1995-12-22T09:05:02 = 1995-12
692 -0010-09-15T04:44:23 = -10-9
694 =head3 yMEd (EEE, y-M-d)
696 2008-02-05T18:30:30 = tor, 2008-2-5
697 1995-12-22T09:05:02 = pet, 1995-12-22
698 -0010-09-15T04:44:23 = sob, -10-9-15
702 2008-02-05T18:30:30 = 2008 feb
703 1995-12-22T09:05:02 = 1995 dec
704 -0010-09-15T04:44:23 = -10 sep
706 =head3 yMMMEd (EEE, y MMM d)
708 2008-02-05T18:30:30 = tor, 2008 feb 5
709 1995-12-22T09:05:02 = pet, 1995 dec 22
710 -0010-09-15T04:44:23 = sob, -10 sep 15
712 =head3 yMMMM (y MMMM)
714 2008-02-05T18:30:30 = 2008 februar
715 1995-12-22T09:05:02 = 1995 december
716 -0010-09-15T04:44:23 = -10 september
720 2008-02-05T18:30:30 = 2008 1
721 1995-12-22T09:05:02 = 1995 4
722 -0010-09-15T04:44:23 = -10 3
726 2008-02-05T18:30:30 = 2008 Q1
727 1995-12-22T09:05:02 = 1995 Q4
728 -0010-09-15T04:44:23 = -10 Q3
732 2008-02-05T18:30:30 = 1/08
733 1995-12-22T09:05:02 = 4/95
734 -0010-09-15T04:44:23 = 3/10
736 =head3 yyyyM (M/yyyy)
738 2008-02-05T18:30:30 = 2/2008
739 1995-12-22T09:05:02 = 12/1995
740 -0010-09-15T04:44:23 = 9/-010
742 =head3 yyyyMMMM (MMMM y)
744 2008-02-05T18:30:30 = februar 2008
745 1995-12-22T09:05:02 = december 1995
746 -0010-09-15T04:44:23 = september -10
750 =head3 Prefers 24 hour time?
754 =head3 Local first day of the week
761 See L<DateTime::Locale>.
765 Dave Rolsky <autarch@urth.org>
769 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
770 free software; you can redistribute it and/or modify it under the same
771 terms as Perl itself.
773 This module was generated from data provided by the CLDR project, see
774 the LICENSE.cldr in this distribution for details on the CLDR data's