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 ms.xml
12 # The source file version number was 1.69, generated on
13 # 2009/06/15 03:46:25.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::ms;
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\ dd\ MMM\ 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 = "dd\ 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 = [ "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Ahd" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad" ];
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 = [ "S\.M\.", "T\.M\." ];
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 = [ "Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ogos", "Sep", "Okt", "Nov", "Dis" ];
88 sub month_format_abbreviated { return $month_format_abbreviated }
91 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
94 my $month_format_wide = [ "Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember" ];
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 = [ "S1", "S2", "S3", "S4" ];
109 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
112 my $quarter_format_wide = [ "suku\ pertama", "suku\ kedua", "suku\ ketiga", "suku\ keempat" ];
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 = "h\:mm\:ss\ a\ zzzz";
123 sub time_format_full { return $time_format_full }
127 my $time_format_long = "h\:mm\:ss\ a\ z";
128 sub time_format_long { return $time_format_long }
132 my $time_format_medium = "h\:mm\:ss\ a";
133 sub time_format_medium { return $time_format_medium }
137 my $time_format_short = "h\:mm";
138 sub time_format_short { return $time_format_short }
142 my $_format_for_Hmm = "H\:mm";
143 sub _format_for_Hmm { return $_format_for_Hmm }
147 my $_format_for_MMMMdd = "dd\ MMMM";
148 sub _format_for_MMMMdd { return $_format_for_MMMMdd }
152 my $_format_for_MMdd = "dd\/MM";
153 sub _format_for_MMdd { return $_format_for_MMdd }
157 my $_format_for_yyQ = "Q\ yy";
158 sub _format_for_yyQ { return $_format_for_yyQ }
162 my $_format_for_yyyyMM = "MM\/yyyy";
163 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
167 my $_format_for_yyyyMMMM = "MMMM\ y";
168 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
172 my $_available_formats =
175 "MMMMdd" => "dd\ MMMM",
178 "yyyyMM" => "MM\/yyyy",
179 "yyyyMMMM" => "MMMM\ y"
181 sub _available_formats { return $_available_formats }
201 my $dt = DateTime->now( locale => 'ms' );
202 print $dt->month_name();
206 This is the DateTime locale package for Malay.
210 This locale inherits from the L<DateTime::Locale::root> locale.
212 It contains the following data.
226 =head3 Abbreviated (format)
236 =head3 Narrow (format)
246 =head3 Wide (stand-alone)
256 =head3 Abbreviated (stand-alone)
266 =head3 Narrow (stand-alone)
293 =head3 Abbreviated (format)
308 =head3 Narrow (format)
323 =head3 Wide (stand-alone)
338 =head3 Abbreviated (stand-alone)
353 =head3 Narrow (stand-alone)
377 =head3 Abbreviated (format)
384 =head3 Narrow (format)
391 =head3 Wide (stand-alone)
398 =head3 Abbreviated (stand-alone)
405 =head3 Narrow (stand-alone)
433 2008-02-05T18:30:30 = Selasa 05 Feb 2008
434 1995-12-22T09:05:02 = Jumaat 22 Dis 1995
435 -0010-09-15T04:44:23 = Sabtu 15 Sep -10
439 2008-02-05T18:30:30 = 05 Februari 2008
440 1995-12-22T09:05:02 = 22 Disember 1995
441 -0010-09-15T04:44:23 = 15 September -10
445 2008-02-05T18:30:30 = 05 Feb 2008
446 1995-12-22T09:05:02 = 22 Dis 1995
447 -0010-09-15T04:44:23 = 15 Sep -10
451 2008-02-05T18:30:30 = 05/02/2008
452 1995-12-22T09:05:02 = 22/12/1995
453 -0010-09-15T04:44:23 = 15/09/-010
457 2008-02-05T18:30:30 = 05 Feb 2008
458 1995-12-22T09:05:02 = 22 Dis 1995
459 -0010-09-15T04:44:23 = 15 Sep -10
465 2008-02-05T18:30:30 = 6:30:30 PM UTC
466 1995-12-22T09:05:02 = 9:05:02 AM UTC
467 -0010-09-15T04:44:23 = 4:44:23 AM UTC
471 2008-02-05T18:30:30 = 6:30:30 PM UTC
472 1995-12-22T09:05:02 = 9:05:02 AM UTC
473 -0010-09-15T04:44:23 = 4:44:23 AM UTC
477 2008-02-05T18:30:30 = 6:30:30 PM
478 1995-12-22T09:05:02 = 9:05:02 AM
479 -0010-09-15T04:44:23 = 4:44:23 AM
483 2008-02-05T18:30:30 = 6:30
484 1995-12-22T09:05:02 = 9:05
485 -0010-09-15T04:44:23 = 4:44
489 2008-02-05T18:30:30 = 6:30:30 PM
490 1995-12-22T09:05:02 = 9:05:02 AM
491 -0010-09-15T04:44:23 = 4:44:23 AM
493 =head2 Datetime Formats
497 2008-02-05T18:30:30 = Selasa 05 Feb 2008 6:30:30 PM UTC
498 1995-12-22T09:05:02 = Jumaat 22 Dis 1995 9:05:02 AM UTC
499 -0010-09-15T04:44:23 = Sabtu 15 Sep -10 4:44:23 AM UTC
503 2008-02-05T18:30:30 = 05 Februari 2008 6:30:30 PM UTC
504 1995-12-22T09:05:02 = 22 Disember 1995 9:05:02 AM UTC
505 -0010-09-15T04:44:23 = 15 September -10 4:44:23 AM UTC
509 2008-02-05T18:30:30 = 05 Feb 2008 6:30:30 PM
510 1995-12-22T09:05:02 = 22 Dis 1995 9:05:02 AM
511 -0010-09-15T04:44:23 = 15 Sep -10 4:44:23 AM
515 2008-02-05T18:30:30 = 05/02/2008 6:30
516 1995-12-22T09:05:02 = 22/12/1995 9:05
517 -0010-09-15T04:44:23 = 15/09/-010 4:44
521 2008-02-05T18:30:30 = 05 Feb 2008 6:30:30 PM
522 1995-12-22T09:05:02 = 22 Dis 1995 9:05:02 AM
523 -0010-09-15T04:44:23 = 15 Sep -10 4:44:23 AM
525 =head2 Available Formats
529 2008-02-05T18:30:30 = 5 Sel
530 1995-12-22T09:05:02 = 22 Jum
531 -0010-09-15T04:44:23 = 15 Sab
535 2008-02-05T18:30:30 = 18:30
536 1995-12-22T09:05:02 = 9:05
537 -0010-09-15T04:44:23 = 4:44
541 2008-02-05T18:30:30 = 18:30
542 1995-12-22T09:05:02 = 9:05
543 -0010-09-15T04:44:23 = 4:44
547 2008-02-05T18:30:30 = 18:30:30
548 1995-12-22T09:05:02 = 9:05:02
549 -0010-09-15T04:44:23 = 4:44:23
553 2008-02-05T18:30:30 = 2
554 1995-12-22T09:05:02 = 12
555 -0010-09-15T04:44:23 = 9
559 2008-02-05T18:30:30 = Sel, 2-5
560 1995-12-22T09:05:02 = Jum, 12-22
561 -0010-09-15T04:44:23 = Sab, 9-15
565 2008-02-05T18:30:30 = Feb
566 1995-12-22T09:05:02 = Dis
567 -0010-09-15T04:44:23 = Sep
569 =head3 MMMEd (E MMM d)
571 2008-02-05T18:30:30 = Sel Feb 5
572 1995-12-22T09:05:02 = Jum Dis 22
573 -0010-09-15T04:44:23 = Sab Sep 15
575 =head3 MMMMEd (E MMMM d)
577 2008-02-05T18:30:30 = Sel Februari 5
578 1995-12-22T09:05:02 = Jum Disember 22
579 -0010-09-15T04:44:23 = Sab September 15
581 =head3 MMMMd (MMMM d)
583 2008-02-05T18:30:30 = Februari 5
584 1995-12-22T09:05:02 = Disember 22
585 -0010-09-15T04:44:23 = September 15
587 =head3 MMMMdd (dd MMMM)
589 2008-02-05T18:30:30 = 05 Februari
590 1995-12-22T09:05:02 = 22 Disember
591 -0010-09-15T04:44:23 = 15 September
595 2008-02-05T18:30:30 = Feb 5
596 1995-12-22T09:05:02 = Dis 22
597 -0010-09-15T04:44:23 = Sep 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 PM
620 1995-12-22T09:05:02 = 9:05 AM
621 -0010-09-15T04:44:23 = 4:44 AM
623 =head3 hms (h:mm:ss a)
625 2008-02-05T18:30:30 = 6:30:30 PM
626 1995-12-22T09:05:02 = 9:05:02 AM
627 -0010-09-15T04:44:23 = 4:44:23 AM
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 = 2008
638 1995-12-22T09:05:02 = 1995
639 -0010-09-15T04:44:23 = -10
643 2008-02-05T18:30:30 = 2008-2
644 1995-12-22T09:05:02 = 1995-12
645 -0010-09-15T04:44:23 = -10-9
647 =head3 yMEd (EEE, y-M-d)
649 2008-02-05T18:30:30 = Sel, 2008-2-5
650 1995-12-22T09:05:02 = Jum, 1995-12-22
651 -0010-09-15T04:44:23 = Sab, -10-9-15
655 2008-02-05T18:30:30 = 2008 Feb
656 1995-12-22T09:05:02 = 1995 Dis
657 -0010-09-15T04:44:23 = -10 Sep
659 =head3 yMMMEd (EEE, y MMM d)
661 2008-02-05T18:30:30 = Sel, 2008 Feb 5
662 1995-12-22T09:05:02 = Jum, 1995 Dis 22
663 -0010-09-15T04:44:23 = Sab, -10 Sep 15
665 =head3 yMMMM (y MMMM)
667 2008-02-05T18:30:30 = 2008 Februari
668 1995-12-22T09:05:02 = 1995 Disember
669 -0010-09-15T04:44:23 = -10 September
673 2008-02-05T18:30:30 = 2008 1
674 1995-12-22T09:05:02 = 1995 4
675 -0010-09-15T04:44:23 = -10 3
679 2008-02-05T18:30:30 = 2008 S1
680 1995-12-22T09:05:02 = 1995 S4
681 -0010-09-15T04:44:23 = -10 S3
685 2008-02-05T18:30:30 = 1 08
686 1995-12-22T09:05:02 = 4 95
687 -0010-09-15T04:44:23 = 3 10
689 =head3 yyyyMM (MM/yyyy)
691 2008-02-05T18:30:30 = 02/2008
692 1995-12-22T09:05:02 = 12/1995
693 -0010-09-15T04:44:23 = 09/-010
695 =head3 yyyyMMMM (MMMM y)
697 2008-02-05T18:30:30 = Februari 2008
698 1995-12-22T09:05:02 = Disember 1995
699 -0010-09-15T04:44:23 = September -10
703 =head3 Prefers 24 hour time?
707 =head3 Local first day of the week
714 See L<DateTime::Locale>.
718 Dave Rolsky <autarch@urth.org>
722 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
723 free software; you can redistribute it and/or modify it under the same
724 terms as Perl itself.
726 This module was generated from data provided by the CLDR project, see
727 the LICENSE.cldr in this distribution for details on the CLDR data's