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 hy.xml
12 # The source file version number was 1.73, generated on
13 # 2009/06/15 03:46:23.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::hy;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "Առ․", "Եր․" ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
34 my $date_format_full = "EEEE\,\ MMMM\ d\,\ y";
35 sub date_format_full { return $date_format_full }
39 my $date_format_long = "MMMM\ dd\,\ y";
40 sub date_format_long { return $date_format_long }
44 my $date_format_medium = "MMM\ d\,\ y";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "MM\/dd\/yy";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "Երկ", "Երք", "Չոր", "Հնգ", "Ուր", "Շաբ", "Կիր" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "Երկուշաբթի", "Երեքշաբթի", "Չորեքշաբթի", "Հինգշաբթի", "Ուրբաթ", "Շաբաթ", "Կիրակի" ];
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 = [ "Ք․Ա․", "Ք․Ե․" ];
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 = [ "Յնր", "Փտր", "Մրտ", "Ապր", "Մյս", "Յնս", "Յլս", "Օգս", "Սեպ", "Հոկ", "Նոյ", "Դեկ" ];
88 sub month_format_abbreviated { return $month_format_abbreviated }
91 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
94 my $month_format_wide = [ "Յունուար", "Փետրուար", "Մարտ", "Ապրիլ", "Մայիս", "Յունիս", "Յուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր" ];
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_MMMMdd = "MMMM\ dd";
143 sub _format_for_MMMMdd { return $_format_for_MMMMdd }
147 my $_format_for_MMdd = "MM\/dd";
148 sub _format_for_MMdd { return $_format_for_MMdd }
152 my $_format_for_yyQ = "Q\ yy";
153 sub _format_for_yyQ { return $_format_for_yyQ }
157 my $_available_formats =
159 "MMMMdd" => "MMMM\ dd",
163 sub _available_formats { return $_available_formats }
183 my $dt = DateTime->now( locale => 'hy' );
184 print $dt->month_name();
188 This is the DateTime locale package for Armenian.
192 This locale inherits from the L<DateTime::Locale::root> locale.
194 It contains the following data.
208 =head3 Abbreviated (format)
218 =head3 Narrow (format)
228 =head3 Wide (stand-alone)
238 =head3 Abbreviated (stand-alone)
248 =head3 Narrow (stand-alone)
275 =head3 Abbreviated (format)
290 =head3 Narrow (format)
305 =head3 Wide (stand-alone)
320 =head3 Abbreviated (stand-alone)
335 =head3 Narrow (stand-alone)
359 =head3 Abbreviated (format)
366 =head3 Narrow (format)
373 =head3 Wide (stand-alone)
380 =head3 Abbreviated (stand-alone)
387 =head3 Narrow (stand-alone)
415 2008-02-05T18:30:30 = Երեքշաբթի, Փետրուար 5, 2008
416 1995-12-22T09:05:02 = Ուրբաթ, Դեկտեմբեր 22, 1995
417 -0010-09-15T04:44:23 = Շաբաթ, Սեպտեմբեր 15, -10
421 2008-02-05T18:30:30 = Փետրուար 05, 2008
422 1995-12-22T09:05:02 = Դեկտեմբեր 22, 1995
423 -0010-09-15T04:44:23 = Սեպտեմբեր 15, -10
427 2008-02-05T18:30:30 = Փտր 5, 2008
428 1995-12-22T09:05:02 = Դեկ 22, 1995
429 -0010-09-15T04:44:23 = Սեպ 15, -10
433 2008-02-05T18:30:30 = 02/05/08
434 1995-12-22T09:05:02 = 12/22/95
435 -0010-09-15T04:44:23 = 09/15/10
439 2008-02-05T18:30:30 = Փտր 5, 2008
440 1995-12-22T09:05:02 = Դեկ 22, 1995
441 -0010-09-15T04:44:23 = Սեպ 15, -10
447 2008-02-05T18:30:30 = 18:30:30 UTC
448 1995-12-22T09:05:02 = 09:05:02 UTC
449 -0010-09-15T04:44:23 = 04:44:23 UTC
453 2008-02-05T18:30:30 = 18:30:30 UTC
454 1995-12-22T09:05:02 = 09:05:02 UTC
455 -0010-09-15T04:44:23 = 04:44:23 UTC
459 2008-02-05T18:30:30 = 18:30:30
460 1995-12-22T09:05:02 = 09:05:02
461 -0010-09-15T04:44:23 = 04:44:23
465 2008-02-05T18:30:30 = 18:30
466 1995-12-22T09:05:02 = 09:05
467 -0010-09-15T04:44:23 = 04:44
471 2008-02-05T18:30:30 = 18:30:30
472 1995-12-22T09:05:02 = 09:05:02
473 -0010-09-15T04:44:23 = 04:44:23
475 =head2 Datetime Formats
479 2008-02-05T18:30:30 = Երեքշաբթի, Փետրուար 5, 2008 18:30:30 UTC
480 1995-12-22T09:05:02 = Ուրբաթ, Դեկտեմբեր 22, 1995 09:05:02 UTC
481 -0010-09-15T04:44:23 = Շաբաթ, Սեպտեմբեր 15, -10 04:44:23 UTC
485 2008-02-05T18:30:30 = Փետրուար 05, 2008 18:30:30 UTC
486 1995-12-22T09:05:02 = Դեկտեմբեր 22, 1995 09:05:02 UTC
487 -0010-09-15T04:44:23 = Սեպտեմբեր 15, -10 04:44:23 UTC
491 2008-02-05T18:30:30 = Փտր 5, 2008 18:30:30
492 1995-12-22T09:05:02 = Դեկ 22, 1995 09:05:02
493 -0010-09-15T04:44:23 = Սեպ 15, -10 04:44:23
497 2008-02-05T18:30:30 = 02/05/08 18:30
498 1995-12-22T09:05:02 = 12/22/95 09:05
499 -0010-09-15T04:44:23 = 09/15/10 04:44
503 2008-02-05T18:30:30 = Փտր 5, 2008 18:30:30
504 1995-12-22T09:05:02 = Դեկ 22, 1995 09:05:02
505 -0010-09-15T04:44:23 = Սեպ 15, -10 04:44:23
507 =head2 Available Formats
511 2008-02-05T18:30:30 = 5 Երք
512 1995-12-22T09:05:02 = 22 Ուր
513 -0010-09-15T04:44:23 = 15 Շաբ
517 2008-02-05T18:30:30 = 18:30
518 1995-12-22T09:05:02 = 9:05
519 -0010-09-15T04:44:23 = 4:44
523 2008-02-05T18:30:30 = 18:30:30
524 1995-12-22T09:05:02 = 9:05:02
525 -0010-09-15T04:44:23 = 4:44:23
529 2008-02-05T18:30:30 = 2
530 1995-12-22T09:05:02 = 12
531 -0010-09-15T04:44:23 = 9
535 2008-02-05T18:30:30 = Երք, 2-5
536 1995-12-22T09:05:02 = Ուր, 12-22
537 -0010-09-15T04:44:23 = Շաբ, 9-15
541 2008-02-05T18:30:30 = Փտր
542 1995-12-22T09:05:02 = Դեկ
543 -0010-09-15T04:44:23 = Սեպ
545 =head3 MMMEd (E MMM d)
547 2008-02-05T18:30:30 = Երք Փտր 5
548 1995-12-22T09:05:02 = Ուր Դեկ 22
549 -0010-09-15T04:44:23 = Շաբ Սեպ 15
551 =head3 MMMMEd (E MMMM d)
553 2008-02-05T18:30:30 = Երք Փետրուար 5
554 1995-12-22T09:05:02 = Ուր Դեկտեմբեր 22
555 -0010-09-15T04:44:23 = Շաբ Սեպտեմբեր 15
557 =head3 MMMMd (MMMM d)
559 2008-02-05T18:30:30 = Փետրուար 5
560 1995-12-22T09:05:02 = Դեկտեմբեր 22
561 -0010-09-15T04:44:23 = Սեպտեմբեր 15
563 =head3 MMMMdd (MMMM dd)
565 2008-02-05T18:30:30 = Փետրուար 05
566 1995-12-22T09:05:02 = Դեկտեմբեր 22
567 -0010-09-15T04:44:23 = Սեպտեմբեր 15
571 2008-02-05T18:30:30 = Փտր 5
572 1995-12-22T09:05:02 = Դեկ 22
573 -0010-09-15T04:44:23 = Սեպ 15
577 2008-02-05T18:30:30 = 02/05
578 1995-12-22T09:05:02 = 12/22
579 -0010-09-15T04:44:23 = 09/15
583 2008-02-05T18:30:30 = 2-5
584 1995-12-22T09:05:02 = 12-22
585 -0010-09-15T04:44:23 = 9-15
589 2008-02-05T18:30:30 = 5
590 1995-12-22T09:05:02 = 22
591 -0010-09-15T04:44:23 = 15
595 2008-02-05T18:30:30 = 6:30 Եր․
596 1995-12-22T09:05:02 = 9:05 Առ․
597 -0010-09-15T04:44:23 = 4:44 Առ․
599 =head3 hms (h:mm:ss a)
601 2008-02-05T18:30:30 = 6:30:30 Եր․
602 1995-12-22T09:05:02 = 9:05:02 Առ․
603 -0010-09-15T04:44:23 = 4:44:23 Առ․
607 2008-02-05T18:30:30 = 30:30
608 1995-12-22T09:05:02 = 05:02
609 -0010-09-15T04:44:23 = 44:23
613 2008-02-05T18:30:30 = 2008
614 1995-12-22T09:05:02 = 1995
615 -0010-09-15T04:44:23 = -10
619 2008-02-05T18:30:30 = 2008-2
620 1995-12-22T09:05:02 = 1995-12
621 -0010-09-15T04:44:23 = -10-9
623 =head3 yMEd (EEE, y-M-d)
625 2008-02-05T18:30:30 = Երք, 2008-2-5
626 1995-12-22T09:05:02 = Ուր, 1995-12-22
627 -0010-09-15T04:44:23 = Շաբ, -10-9-15
631 2008-02-05T18:30:30 = 2008 Փտր
632 1995-12-22T09:05:02 = 1995 Դեկ
633 -0010-09-15T04:44:23 = -10 Սեպ
635 =head3 yMMMEd (EEE, y MMM d)
637 2008-02-05T18:30:30 = Երք, 2008 Փտր 5
638 1995-12-22T09:05:02 = Ուր, 1995 Դեկ 22
639 -0010-09-15T04:44:23 = Շաբ, -10 Սեպ 15
641 =head3 yMMMM (y MMMM)
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 1
650 1995-12-22T09:05:02 = 1995 4
651 -0010-09-15T04:44:23 = -10 3
655 2008-02-05T18:30:30 = 2008 Q1
656 1995-12-22T09:05:02 = 1995 Q4
657 -0010-09-15T04:44:23 = -10 Q3
661 2008-02-05T18:30:30 = 1 08
662 1995-12-22T09:05:02 = 4 95
663 -0010-09-15T04:44:23 = 3 10
667 =head3 Prefers 24 hour time?
671 =head3 Local first day of the week
678 See L<DateTime::Locale>.
682 Dave Rolsky <autarch@urth.org>
686 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
687 free software; you can redistribute it and/or modify it under the same
688 terms as Perl itself.
690 This module was generated from data provided by the CLDR project, see
691 the LICENSE.cldr in this distribution for details on the CLDR data's