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 kw.xml
12 # The source file version number was 1.59, generated on
13 # 2009/06/15 03:46:24.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::kw;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "a\.m\.", "p\.m\." ];
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\/yyyy";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "Lun", "Mth", "Mhr", "Yow", "Gwe", "Sad", "Sul" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "De\ Lun", "De\ Merth", "De\ Merher", "De\ Yow", "De\ Gwener", "De\ Sadorn", "De\ Sul" ];
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 = [ "2", "3", "4", "5", "6", "7", "1" ];
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 = [ "RC", "AD" ];
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 = [ "Gen", "Whe", "Mer", "Ebr", "Me", "Efn", "Gor", "Est", "Gwn", "Hed", "Du", "Kev" ];
88 sub month_format_abbreviated { return $month_format_abbreviated }
91 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
94 my $month_format_wide = [ "Mys\ Genver", "Mys\ Whevrel", "Mys\ Merth", "Mys\ Ebrel", "Mys\ Me", "Mys\ Efan", "Mys\ Gortheren", "Mye\ Est", "Mys\ Gwyngala", "Mys\ Hedra", "Mys\ Du", "Mys\ Kevardhu" ];
95 sub month_format_wide { return $month_format_wide }
98 sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
101 my $month_stand_alone_narrow = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
102 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
105 sub month_stand_alone_wide { $_[0]->month_format_wide() }
108 my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
109 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
112 my $quarter_format_wide = [ "Q1", "Q2", "Q3", "Q4" ];
113 sub quarter_format_wide { return $quarter_format_wide }
116 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
119 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
122 my $time_format_full = "HH\:mm\:ss\ zzzz";
123 sub time_format_full { return $time_format_full }
127 my $time_format_long = "HH\:mm\:ss\ z";
128 sub time_format_long { return $time_format_long }
132 my $time_format_medium = "HH\:mm\:ss";
133 sub time_format_medium { return $time_format_medium }
137 my $time_format_short = "HH\:mm";
138 sub time_format_short { return $time_format_short }
142 my $_format_for_HHmm = "HH\:mm";
143 sub _format_for_HHmm { return $_format_for_HHmm }
147 my $_format_for_MMMMd = "d\ MMMM";
148 sub _format_for_MMMMd { return $_format_for_MMMMd }
152 my $_format_for_MMdd = "dd\/MM";
153 sub _format_for_MMdd { return $_format_for_MMdd }
157 my $_format_for_mmss = "mm\:ss";
158 sub _format_for_mmss { return $_format_for_mmss }
162 my $_format_for_yyQ = "Q\ yy";
163 sub _format_for_yyQ { return $_format_for_yyQ }
167 my $_format_for_yyyyMM = "MM\/yyyy";
168 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
172 my $_format_for_yyyyMMMM = "MMMM\ y";
173 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
177 my $_available_formats =
180 "MMMMd" => "d\ MMMM",
184 "yyyyMM" => "MM\/yyyy",
185 "yyyyMMMM" => "MMMM\ y"
187 sub _available_formats { return $_available_formats }
207 my $dt = DateTime->now( locale => 'kw' );
208 print $dt->month_name();
212 This is the DateTime locale package for Cornish.
216 This locale inherits from the L<DateTime::Locale::root> locale.
218 It contains the following data.
232 =head3 Abbreviated (format)
242 =head3 Narrow (format)
252 =head3 Wide (stand-alone)
262 =head3 Abbreviated (stand-alone)
272 =head3 Narrow (stand-alone)
299 =head3 Abbreviated (format)
314 =head3 Narrow (format)
329 =head3 Wide (stand-alone)
344 =head3 Abbreviated (stand-alone)
359 =head3 Narrow (stand-alone)
383 =head3 Abbreviated (format)
390 =head3 Narrow (format)
397 =head3 Wide (stand-alone)
404 =head3 Abbreviated (stand-alone)
411 =head3 Narrow (stand-alone)
439 2008-02-05T18:30:30 = De Merth 5 Mys Whevrel 2008
440 1995-12-22T09:05:02 = De Gwener 22 Mys Kevardhu 1995
441 -0010-09-15T04:44:23 = De Sadorn 15 Mys Gwyngala -10
445 2008-02-05T18:30:30 = 5 Mys Whevrel 2008
446 1995-12-22T09:05:02 = 22 Mys Kevardhu 1995
447 -0010-09-15T04:44:23 = 15 Mys Gwyngala -10
451 2008-02-05T18:30:30 = 5 Whe 2008
452 1995-12-22T09:05:02 = 22 Kev 1995
453 -0010-09-15T04:44:23 = 15 Gwn -10
457 2008-02-05T18:30:30 = 05/02/2008
458 1995-12-22T09:05:02 = 22/12/1995
459 -0010-09-15T04:44:23 = 15/09/-010
463 2008-02-05T18:30:30 = 5 Whe 2008
464 1995-12-22T09:05:02 = 22 Kev 1995
465 -0010-09-15T04:44:23 = 15 Gwn -10
471 2008-02-05T18:30:30 = 18:30:30 UTC
472 1995-12-22T09:05:02 = 09:05:02 UTC
473 -0010-09-15T04:44:23 = 04:44:23 UTC
477 2008-02-05T18:30:30 = 18:30:30 UTC
478 1995-12-22T09:05:02 = 09:05:02 UTC
479 -0010-09-15T04:44:23 = 04:44:23 UTC
483 2008-02-05T18:30:30 = 18:30:30
484 1995-12-22T09:05:02 = 09:05:02
485 -0010-09-15T04:44:23 = 04:44:23
489 2008-02-05T18:30:30 = 18:30
490 1995-12-22T09:05:02 = 09:05
491 -0010-09-15T04:44:23 = 04:44
495 2008-02-05T18:30:30 = 18:30:30
496 1995-12-22T09:05:02 = 09:05:02
497 -0010-09-15T04:44:23 = 04:44:23
499 =head2 Datetime Formats
503 2008-02-05T18:30:30 = De Merth 5 Mys Whevrel 2008 18:30:30 UTC
504 1995-12-22T09:05:02 = De Gwener 22 Mys Kevardhu 1995 09:05:02 UTC
505 -0010-09-15T04:44:23 = De Sadorn 15 Mys Gwyngala -10 04:44:23 UTC
509 2008-02-05T18:30:30 = 5 Mys Whevrel 2008 18:30:30 UTC
510 1995-12-22T09:05:02 = 22 Mys Kevardhu 1995 09:05:02 UTC
511 -0010-09-15T04:44:23 = 15 Mys Gwyngala -10 04:44:23 UTC
515 2008-02-05T18:30:30 = 5 Whe 2008 18:30:30
516 1995-12-22T09:05:02 = 22 Kev 1995 09:05:02
517 -0010-09-15T04:44:23 = 15 Gwn -10 04:44:23
521 2008-02-05T18:30:30 = 05/02/2008 18:30
522 1995-12-22T09:05:02 = 22/12/1995 09:05
523 -0010-09-15T04:44:23 = 15/09/-010 04:44
527 2008-02-05T18:30:30 = 5 Whe 2008 18:30:30
528 1995-12-22T09:05:02 = 22 Kev 1995 09:05:02
529 -0010-09-15T04:44:23 = 15 Gwn -10 04:44:23
531 =head2 Available Formats
535 2008-02-05T18:30:30 = 5 Mth
536 1995-12-22T09:05:02 = 22 Gwe
537 -0010-09-15T04:44:23 = 15 Sad
541 2008-02-05T18:30:30 = 18:30
542 1995-12-22T09:05:02 = 09:05
543 -0010-09-15T04:44:23 = 04:44
547 2008-02-05T18:30:30 = 18:30
548 1995-12-22T09:05:02 = 9:05
549 -0010-09-15T04:44:23 = 4:44
553 2008-02-05T18:30:30 = 18:30:30
554 1995-12-22T09:05:02 = 9:05:02
555 -0010-09-15T04:44:23 = 4:44:23
559 2008-02-05T18:30:30 = 2
560 1995-12-22T09:05:02 = 12
561 -0010-09-15T04:44:23 = 9
565 2008-02-05T18:30:30 = Mth, 2-5
566 1995-12-22T09:05:02 = Gwe, 12-22
567 -0010-09-15T04:44:23 = Sad, 9-15
571 2008-02-05T18:30:30 = Whe
572 1995-12-22T09:05:02 = Kev
573 -0010-09-15T04:44:23 = Gwn
575 =head3 MMMEd (E MMM d)
577 2008-02-05T18:30:30 = Mth Whe 5
578 1995-12-22T09:05:02 = Gwe Kev 22
579 -0010-09-15T04:44:23 = Sad Gwn 15
581 =head3 MMMMEd (E MMMM d)
583 2008-02-05T18:30:30 = Mth Mys Whevrel 5
584 1995-12-22T09:05:02 = Gwe Mys Kevardhu 22
585 -0010-09-15T04:44:23 = Sad Mys Gwyngala 15
587 =head3 MMMMd (d MMMM)
589 2008-02-05T18:30:30 = 5 Mys Whevrel
590 1995-12-22T09:05:02 = 22 Mys Kevardhu
591 -0010-09-15T04:44:23 = 15 Mys Gwyngala
595 2008-02-05T18:30:30 = Whe 5
596 1995-12-22T09:05:02 = Kev 22
597 -0010-09-15T04:44:23 = Gwn 15
601 2008-02-05T18:30:30 = 05/02
602 1995-12-22T09:05:02 = 22/12
603 -0010-09-15T04:44:23 = 15/09
607 2008-02-05T18:30:30 = 2-5
608 1995-12-22T09:05:02 = 12-22
609 -0010-09-15T04:44:23 = 9-15
613 2008-02-05T18:30:30 = 5
614 1995-12-22T09:05:02 = 22
615 -0010-09-15T04:44:23 = 15
619 2008-02-05T18:30:30 = 6:30 p.m.
620 1995-12-22T09:05:02 = 9:05 a.m.
621 -0010-09-15T04:44:23 = 4:44 a.m.
623 =head3 hms (h:mm:ss a)
625 2008-02-05T18:30:30 = 6:30:30 p.m.
626 1995-12-22T09:05:02 = 9:05:02 a.m.
627 -0010-09-15T04:44:23 = 4:44:23 a.m.
631 2008-02-05T18:30:30 = 30:30
632 1995-12-22T09:05:02 = 05:02
633 -0010-09-15T04:44:23 = 44:23
637 2008-02-05T18:30:30 = 30:30
638 1995-12-22T09:05:02 = 05:02
639 -0010-09-15T04:44:23 = 44:23
643 2008-02-05T18:30:30 = 2008
644 1995-12-22T09:05:02 = 1995
645 -0010-09-15T04:44:23 = -10
649 2008-02-05T18:30:30 = 2008-2
650 1995-12-22T09:05:02 = 1995-12
651 -0010-09-15T04:44:23 = -10-9
653 =head3 yMEd (EEE, y-M-d)
655 2008-02-05T18:30:30 = Mth, 2008-2-5
656 1995-12-22T09:05:02 = Gwe, 1995-12-22
657 -0010-09-15T04:44:23 = Sad, -10-9-15
661 2008-02-05T18:30:30 = 2008 Whe
662 1995-12-22T09:05:02 = 1995 Kev
663 -0010-09-15T04:44:23 = -10 Gwn
665 =head3 yMMMEd (EEE, y MMM d)
667 2008-02-05T18:30:30 = Mth, 2008 Whe 5
668 1995-12-22T09:05:02 = Gwe, 1995 Kev 22
669 -0010-09-15T04:44:23 = Sad, -10 Gwn 15
671 =head3 yMMMM (y MMMM)
673 2008-02-05T18:30:30 = 2008 Mys Whevrel
674 1995-12-22T09:05:02 = 1995 Mys Kevardhu
675 -0010-09-15T04:44:23 = -10 Mys Gwyngala
679 2008-02-05T18:30:30 = 2008 1
680 1995-12-22T09:05:02 = 1995 4
681 -0010-09-15T04:44:23 = -10 3
685 2008-02-05T18:30:30 = 2008 Q1
686 1995-12-22T09:05:02 = 1995 Q4
687 -0010-09-15T04:44:23 = -10 Q3
691 2008-02-05T18:30:30 = 1 08
692 1995-12-22T09:05:02 = 4 95
693 -0010-09-15T04:44:23 = 3 10
695 =head3 yyyyMM (MM/yyyy)
697 2008-02-05T18:30:30 = 02/2008
698 1995-12-22T09:05:02 = 12/1995
699 -0010-09-15T04:44:23 = 09/-010
701 =head3 yyyyMMMM (MMMM y)
703 2008-02-05T18:30:30 = Mys Whevrel 2008
704 1995-12-22T09:05:02 = Mys Kevardhu 1995
705 -0010-09-15T04:44:23 = Mys Gwyngala -10
709 =head3 Prefers 24 hour time?
713 =head3 Local first day of the week
720 See L<DateTime::Locale>.
724 Dave Rolsky <autarch@urth.org>
728 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
729 free software; you can redistribute it and/or modify it under the same
730 terms as Perl itself.
732 This module was generated from data provided by the CLDR project, see
733 the LICENSE.cldr in this distribution for details on the CLDR data's