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 cs.xml
12 # The source file version number was 1.132, generated on
13 # 2009/06/15 03:46:23.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::cs;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "dop\.", "odp\." ];
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\.M\.yyyy";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "d\.M\.yy";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "po", "út", "st", "čt", "pá", "so", "ne" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota", "neděle" ];
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", "Ú", "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 = [ "př\.Kr\.", "po\ Kr\." ];
76 sub era_abbreviated { return $era_abbreviated }
79 sub era_narrow { $_[0]->era_abbreviated() }
82 my $first_day_of_week = "1";
83 sub first_day_of_week { return $first_day_of_week }
87 my $month_format_abbreviated = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
88 sub month_format_abbreviated { return $month_format_abbreviated }
91 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
94 my $month_format_wide = [ "ledna", "února", "března", "dubna", "května", "června", "července", "srpna", "září", "října", "listopadu", "prosince" ];
95 sub month_format_wide { return $month_format_wide }
98 my $month_stand_alone_abbreviated = [ "1\.", "2\.", "3\.", "4\.", "5\.", "6\.", "7\.", "8\.", "9\.", "10\.", "11\.", "12\." ];
99 sub month_stand_alone_abbreviated { return $month_stand_alone_abbreviated }
102 my $month_stand_alone_narrow = [ "l", "ú", "b", "d", "k", "č", "č", "s", "z", "ř", "l", "p" ];
103 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
106 my $month_stand_alone_wide = [ "leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec" ];
107 sub month_stand_alone_wide { return $month_stand_alone_wide }
110 my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
111 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
114 sub quarter_format_narrow { $_[0]->quarter_stand_alone_narrow() }
117 my $quarter_format_wide = [ "1\.\ čtvrtletí", "2\.\ čtvrtletí", "3\.\ čtvrtletí", "4\.\ čtvrtletí" ];
118 sub quarter_format_wide { return $quarter_format_wide }
121 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
124 my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
125 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
128 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
131 my $time_format_full = "HH\:mm\:ss\ zzzz";
132 sub time_format_full { return $time_format_full }
136 my $time_format_long = "HH\:mm\:ss\ z";
137 sub time_format_long { return $time_format_long }
141 my $time_format_medium = "H\:mm\:ss";
142 sub time_format_medium { return $time_format_medium }
146 my $time_format_short = "H\:mm";
147 sub time_format_short { return $time_format_short }
151 my $_format_for_H = "H";
152 sub _format_for_H { return $_format_for_H }
156 my $_format_for_HHmm = "HH\:mm";
157 sub _format_for_HHmm { return $_format_for_HHmm }
161 my $_format_for_HHmmss = "HH\:mm\:ss";
162 sub _format_for_HHmmss { return $_format_for_HHmmss }
166 my $_format_for_MMMMd = "d\.\ MMMM";
167 sub _format_for_MMMMd { return $_format_for_MMMMd }
171 my $_format_for_Md = "d\.M";
172 sub _format_for_Md { return $_format_for_Md }
176 my $_format_for_mmss = "mm\:ss";
177 sub _format_for_mmss { return $_format_for_mmss }
181 my $_format_for_yyQ = "Q\ yy";
182 sub _format_for_yyQ { return $_format_for_yyQ }
186 my $_format_for_yyyy = "y";
187 sub _format_for_yyyy { return $_format_for_yyyy }
191 my $_format_for_yyyyM = "M\.yyyy";
192 sub _format_for_yyyyM { return $_format_for_yyyyM }
196 my $_format_for_yyyyMMMM = "MMMM\ y";
197 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
201 my $_available_formats =
205 "HHmmss" => "HH\:mm\:ss",
206 "MMMMd" => "d\.\ MMMM",
211 "yyyyM" => "M\.yyyy",
212 "yyyyMMMM" => "MMMM\ y"
214 sub _available_formats { return $_available_formats }
234 my $dt = DateTime->now( locale => 'cs' );
235 print $dt->month_name();
239 This is the DateTime locale package for Czech.
243 This locale inherits from the L<DateTime::Locale::root> locale.
245 It contains the following data.
259 =head3 Abbreviated (format)
269 =head3 Narrow (format)
279 =head3 Wide (stand-alone)
289 =head3 Abbreviated (stand-alone)
299 =head3 Narrow (stand-alone)
326 =head3 Abbreviated (format)
341 =head3 Narrow (format)
356 =head3 Wide (stand-alone)
371 =head3 Abbreviated (stand-alone)
386 =head3 Narrow (stand-alone)
410 =head3 Abbreviated (format)
417 =head3 Narrow (format)
424 =head3 Wide (stand-alone)
431 =head3 Abbreviated (stand-alone)
438 =head3 Narrow (stand-alone)
466 2008-02-05T18:30:30 = úterý, 5. února 2008
467 1995-12-22T09:05:02 = pátek, 22. prosince 1995
468 -0010-09-15T04:44:23 = sobota, 15. září -10
472 2008-02-05T18:30:30 = 5. února 2008
473 1995-12-22T09:05:02 = 22. prosince 1995
474 -0010-09-15T04:44:23 = 15. září -10
478 2008-02-05T18:30:30 = 5.2.2008
479 1995-12-22T09:05:02 = 22.12.1995
480 -0010-09-15T04:44:23 = 15.9.-010
484 2008-02-05T18:30:30 = 5.2.08
485 1995-12-22T09:05:02 = 22.12.95
486 -0010-09-15T04:44:23 = 15.9.10
490 2008-02-05T18:30:30 = 5.2.2008
491 1995-12-22T09:05:02 = 22.12.1995
492 -0010-09-15T04:44:23 = 15.9.-010
498 2008-02-05T18:30:30 = 18:30:30 UTC
499 1995-12-22T09:05:02 = 09:05:02 UTC
500 -0010-09-15T04:44:23 = 04:44:23 UTC
504 2008-02-05T18:30:30 = 18:30:30 UTC
505 1995-12-22T09:05:02 = 09:05:02 UTC
506 -0010-09-15T04:44:23 = 04:44:23 UTC
510 2008-02-05T18:30:30 = 18:30:30
511 1995-12-22T09:05:02 = 9:05:02
512 -0010-09-15T04:44:23 = 4:44:23
516 2008-02-05T18:30:30 = 18:30
517 1995-12-22T09:05:02 = 9:05
518 -0010-09-15T04:44:23 = 4:44
522 2008-02-05T18:30:30 = 18:30:30
523 1995-12-22T09:05:02 = 9:05:02
524 -0010-09-15T04:44:23 = 4:44:23
526 =head2 Datetime Formats
530 2008-02-05T18:30:30 = úterý, 5. února 2008 18:30:30 UTC
531 1995-12-22T09:05:02 = pátek, 22. prosince 1995 09:05:02 UTC
532 -0010-09-15T04:44:23 = sobota, 15. září -10 04:44:23 UTC
536 2008-02-05T18:30:30 = 5. února 2008 18:30:30 UTC
537 1995-12-22T09:05:02 = 22. prosince 1995 09:05:02 UTC
538 -0010-09-15T04:44:23 = 15. září -10 04:44:23 UTC
542 2008-02-05T18:30:30 = 5.2.2008 18:30:30
543 1995-12-22T09:05:02 = 22.12.1995 9:05:02
544 -0010-09-15T04:44:23 = 15.9.-010 4:44:23
548 2008-02-05T18:30:30 = 5.2.08 18:30
549 1995-12-22T09:05:02 = 22.12.95 9:05
550 -0010-09-15T04:44:23 = 15.9.10 4:44
554 2008-02-05T18:30:30 = 5.2.2008 18:30:30
555 1995-12-22T09:05:02 = 22.12.1995 9:05:02
556 -0010-09-15T04:44:23 = 15.9.-010 4:44:23
558 =head2 Available Formats
562 2008-02-05T18:30:30 = 5 út
563 1995-12-22T09:05:02 = 22 pá
564 -0010-09-15T04:44:23 = 15 so
568 2008-02-05T18:30:30 = 18
569 1995-12-22T09:05:02 = 9
570 -0010-09-15T04:44:23 = 4
574 2008-02-05T18:30:30 = 18:30
575 1995-12-22T09:05:02 = 09:05
576 -0010-09-15T04:44:23 = 04:44
578 =head3 HHmmss (HH:mm:ss)
580 2008-02-05T18:30:30 = 18:30:30
581 1995-12-22T09:05:02 = 09:05:02
582 -0010-09-15T04:44:23 = 04:44:23
586 2008-02-05T18:30:30 = 18:30
587 1995-12-22T09:05:02 = 9:05
588 -0010-09-15T04:44:23 = 4:44
592 2008-02-05T18:30:30 = 18:30:30
593 1995-12-22T09:05:02 = 9:05:02
594 -0010-09-15T04:44:23 = 4:44:23
598 2008-02-05T18:30:30 = 2
599 1995-12-22T09:05:02 = 12
600 -0010-09-15T04:44:23 = 9
604 2008-02-05T18:30:30 = út, 2-5
605 1995-12-22T09:05:02 = pá, 12-22
606 -0010-09-15T04:44:23 = so, 9-15
610 2008-02-05T18:30:30 = 2.
611 1995-12-22T09:05:02 = 12.
612 -0010-09-15T04:44:23 = 9.
614 =head3 MMMEd (E MMM d)
616 2008-02-05T18:30:30 = út 2 5
617 1995-12-22T09:05:02 = pá 12 22
618 -0010-09-15T04:44:23 = so 9 15
620 =head3 MMMMEd (E MMMM d)
622 2008-02-05T18:30:30 = út února 5
623 1995-12-22T09:05:02 = pá prosince 22
624 -0010-09-15T04:44:23 = so září 15
626 =head3 MMMMd (d. MMMM)
628 2008-02-05T18:30:30 = 5. února
629 1995-12-22T09:05:02 = 22. prosince
630 -0010-09-15T04:44:23 = 15. září
634 2008-02-05T18:30:30 = 2 5
635 1995-12-22T09:05:02 = 12 22
636 -0010-09-15T04:44:23 = 9 15
640 2008-02-05T18:30:30 = 5.2
641 1995-12-22T09:05:02 = 22.12
642 -0010-09-15T04:44:23 = 15.9
646 2008-02-05T18:30:30 = 5
647 1995-12-22T09:05:02 = 22
648 -0010-09-15T04:44:23 = 15
652 2008-02-05T18:30:30 = 6:30 odp.
653 1995-12-22T09:05:02 = 9:05 dop.
654 -0010-09-15T04:44:23 = 4:44 dop.
656 =head3 hms (h:mm:ss a)
658 2008-02-05T18:30:30 = 6:30:30 odp.
659 1995-12-22T09:05:02 = 9:05:02 dop.
660 -0010-09-15T04:44:23 = 4:44:23 dop.
664 2008-02-05T18:30:30 = 30:30
665 1995-12-22T09:05:02 = 05:02
666 -0010-09-15T04:44:23 = 44:23
670 2008-02-05T18:30:30 = 30:30
671 1995-12-22T09:05:02 = 05:02
672 -0010-09-15T04:44:23 = 44:23
676 2008-02-05T18:30:30 = 2008
677 1995-12-22T09:05:02 = 1995
678 -0010-09-15T04:44:23 = -10
682 2008-02-05T18:30:30 = 2008-2
683 1995-12-22T09:05:02 = 1995-12
684 -0010-09-15T04:44:23 = -10-9
686 =head3 yMEd (EEE, y-M-d)
688 2008-02-05T18:30:30 = út, 2008-2-5
689 1995-12-22T09:05:02 = pá, 1995-12-22
690 -0010-09-15T04:44:23 = so, -10-9-15
694 2008-02-05T18:30:30 = 2008 2
695 1995-12-22T09:05:02 = 1995 12
696 -0010-09-15T04:44:23 = -10 9
698 =head3 yMMMEd (EEE, y MMM d)
700 2008-02-05T18:30:30 = út, 2008 2 5
701 1995-12-22T09:05:02 = pá, 1995 12 22
702 -0010-09-15T04:44:23 = so, -10 9 15
704 =head3 yMMMM (y MMMM)
706 2008-02-05T18:30:30 = 2008 února
707 1995-12-22T09:05:02 = 1995 prosince
708 -0010-09-15T04:44:23 = -10 září
712 2008-02-05T18:30:30 = 2008 1
713 1995-12-22T09:05:02 = 1995 4
714 -0010-09-15T04:44:23 = -10 3
718 2008-02-05T18:30:30 = 2008 Q1
719 1995-12-22T09:05:02 = 1995 Q4
720 -0010-09-15T04:44:23 = -10 Q3
724 2008-02-05T18:30:30 = 1 08
725 1995-12-22T09:05:02 = 4 95
726 -0010-09-15T04:44:23 = 3 10
730 2008-02-05T18:30:30 = 2008
731 1995-12-22T09:05:02 = 1995
732 -0010-09-15T04:44:23 = -10
734 =head3 yyyyM (M.yyyy)
736 2008-02-05T18:30:30 = 2.2008
737 1995-12-22T09:05:02 = 12.1995
738 -0010-09-15T04:44:23 = 9.-010
740 =head3 yyyyMMMM (MMMM y)
742 2008-02-05T18:30:30 = února 2008
743 1995-12-22T09:05:02 = prosince 1995
744 -0010-09-15T04:44:23 = září -10
748 =head3 Prefers 24 hour time?
752 =head3 Local first day of the week
759 See L<DateTime::Locale>.
763 Dave Rolsky <autarch@urth.org>
767 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
768 free software; you can redistribute it and/or modify it under the same
769 terms as Perl itself.
771 This module was generated from data provided by the CLDR project, see
772 the LICENSE.cldr in this distribution for details on the CLDR data's