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 af.xml
12 # The source file version number was 1.78, generated on
13 # 2009/06/15 03:46:24.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::af;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $am_pm_abbreviated = [ "vm\.", "nm\." ];
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 = "dd\ MMM\ y";
45 sub date_format_medium { return $date_format_medium }
49 my $date_format_short = "yyyy\/MM\/dd";
50 sub date_format_short { return $date_format_short }
54 my $day_format_abbreviated = [ "Ma", "Di", "Wo", "Do", "Vr", "Sa", "So" ];
55 sub day_format_abbreviated { return $day_format_abbreviated }
58 sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
61 my $day_format_wide = [ "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag", "Sondag" ];
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 = [ "v\.C\.", "n\.C\." ];
76 sub era_abbreviated { return $era_abbreviated }
79 sub era_narrow { $_[0]->era_abbreviated() }
82 my $era_wide = [ "voor\ Christus", "na\ Christus" ];
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", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des" ];
92 sub month_format_abbreviated { return $month_format_abbreviated }
95 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
98 my $month_format_wide = [ "Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember" ];
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 = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
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 = [ "K1", "K2", "K3", "K4" ];
113 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
116 my $quarter_format_wide = [ "1ste\ kwartaal", "2de\ kwartaal", "3de\ kwartaal", "4de\ kwartaal" ];
117 sub quarter_format_wide { return $quarter_format_wide }
120 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
123 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
126 my $time_format_full = "h\:mm\:ss\ a\ zzzz";
127 sub time_format_full { return $time_format_full }
131 my $time_format_long = "h\:mm\:ss\ a\ z";
132 sub time_format_long { return $time_format_long }
136 my $time_format_medium = "h\:mm\:ss\ a";
137 sub time_format_medium { return $time_format_medium }
141 my $time_format_short = "h\:mm\ a";
142 sub time_format_short { return $time_format_short }
146 my $_format_for_MMMMd = "d\ MMMM";
147 sub _format_for_MMMMd { return $_format_for_MMMMd }
151 my $_format_for_MMMMdd = "dd\ MMMM";
152 sub _format_for_MMMMdd { return $_format_for_MMMMdd }
156 my $_format_for_MMdd = "MM\/dd";
157 sub _format_for_MMdd { return $_format_for_MMdd }
161 my $_format_for_yyQ = "Q\ yy";
162 sub _format_for_yyQ { return $_format_for_yyQ }
166 my $_format_for_yyyyMM = "yyyy\/MM";
167 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
171 my $_format_for_yyyyMMMM = "MMMM\ y";
172 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
176 my $_available_formats =
178 "MMMMd" => "d\ MMMM",
179 "MMMMdd" => "dd\ MMMM",
182 "yyyyMM" => "yyyy\/MM",
183 "yyyyMMMM" => "MMMM\ y"
185 sub _available_formats { return $_available_formats }
205 my $dt = DateTime->now( locale => 'af' );
206 print $dt->month_name();
210 This is the DateTime locale package for Afrikaans.
214 This locale inherits from the L<DateTime::Locale::root> locale.
216 It contains the following data.
230 =head3 Abbreviated (format)
240 =head3 Narrow (format)
250 =head3 Wide (stand-alone)
260 =head3 Abbreviated (stand-alone)
270 =head3 Narrow (stand-alone)
297 =head3 Abbreviated (format)
312 =head3 Narrow (format)
327 =head3 Wide (stand-alone)
342 =head3 Abbreviated (stand-alone)
357 =head3 Narrow (stand-alone)
381 =head3 Abbreviated (format)
388 =head3 Narrow (format)
395 =head3 Wide (stand-alone)
402 =head3 Abbreviated (stand-alone)
409 =head3 Narrow (stand-alone)
437 2008-02-05T18:30:30 = Dinsdag 05 Februarie 2008
438 1995-12-22T09:05:02 = Vrydag 22 Desember 1995
439 -0010-09-15T04:44:23 = Saterdag 15 September -10
443 2008-02-05T18:30:30 = 05 Februarie 2008
444 1995-12-22T09:05:02 = 22 Desember 1995
445 -0010-09-15T04:44:23 = 15 September -10
449 2008-02-05T18:30:30 = 05 Feb 2008
450 1995-12-22T09:05:02 = 22 Des 1995
451 -0010-09-15T04:44:23 = 15 Sep -10
455 2008-02-05T18:30:30 = 2008/02/05
456 1995-12-22T09:05:02 = 1995/12/22
457 -0010-09-15T04:44:23 = -010/09/15
461 2008-02-05T18:30:30 = 05 Feb 2008
462 1995-12-22T09:05:02 = 22 Des 1995
463 -0010-09-15T04:44:23 = 15 Sep -10
469 2008-02-05T18:30:30 = 6:30:30 nm. UTC
470 1995-12-22T09:05:02 = 9:05:02 vm. UTC
471 -0010-09-15T04:44:23 = 4:44:23 vm. UTC
475 2008-02-05T18:30:30 = 6:30:30 nm. UTC
476 1995-12-22T09:05:02 = 9:05:02 vm. UTC
477 -0010-09-15T04:44:23 = 4:44:23 vm. UTC
481 2008-02-05T18:30:30 = 6:30:30 nm.
482 1995-12-22T09:05:02 = 9:05:02 vm.
483 -0010-09-15T04:44:23 = 4:44:23 vm.
487 2008-02-05T18:30:30 = 6:30 nm.
488 1995-12-22T09:05:02 = 9:05 vm.
489 -0010-09-15T04:44:23 = 4:44 vm.
493 2008-02-05T18:30:30 = 6:30:30 nm.
494 1995-12-22T09:05:02 = 9:05:02 vm.
495 -0010-09-15T04:44:23 = 4:44:23 vm.
497 =head2 Datetime Formats
501 2008-02-05T18:30:30 = Dinsdag 05 Februarie 2008 6:30:30 nm. UTC
502 1995-12-22T09:05:02 = Vrydag 22 Desember 1995 9:05:02 vm. UTC
503 -0010-09-15T04:44:23 = Saterdag 15 September -10 4:44:23 vm. UTC
507 2008-02-05T18:30:30 = 05 Februarie 2008 6:30:30 nm. UTC
508 1995-12-22T09:05:02 = 22 Desember 1995 9:05:02 vm. UTC
509 -0010-09-15T04:44:23 = 15 September -10 4:44:23 vm. UTC
513 2008-02-05T18:30:30 = 05 Feb 2008 6:30:30 nm.
514 1995-12-22T09:05:02 = 22 Des 1995 9:05:02 vm.
515 -0010-09-15T04:44:23 = 15 Sep -10 4:44:23 vm.
519 2008-02-05T18:30:30 = 2008/02/05 6:30 nm.
520 1995-12-22T09:05:02 = 1995/12/22 9:05 vm.
521 -0010-09-15T04:44:23 = -010/09/15 4:44 vm.
525 2008-02-05T18:30:30 = 05 Feb 2008 6:30:30 nm.
526 1995-12-22T09:05:02 = 22 Des 1995 9:05:02 vm.
527 -0010-09-15T04:44:23 = 15 Sep -10 4:44:23 vm.
529 =head2 Available Formats
533 2008-02-05T18:30:30 = 5 Di
534 1995-12-22T09:05:02 = 22 Vr
535 -0010-09-15T04:44:23 = 15 Sa
539 2008-02-05T18:30:30 = 18:30
540 1995-12-22T09:05:02 = 9:05
541 -0010-09-15T04:44:23 = 4:44
545 2008-02-05T18:30:30 = 18:30:30
546 1995-12-22T09:05:02 = 9:05:02
547 -0010-09-15T04:44:23 = 4:44:23
551 2008-02-05T18:30:30 = 2
552 1995-12-22T09:05:02 = 12
553 -0010-09-15T04:44:23 = 9
557 2008-02-05T18:30:30 = Di, 2-5
558 1995-12-22T09:05:02 = Vr, 12-22
559 -0010-09-15T04:44:23 = Sa, 9-15
563 2008-02-05T18:30:30 = Feb
564 1995-12-22T09:05:02 = Des
565 -0010-09-15T04:44:23 = Sep
567 =head3 MMMEd (E MMM d)
569 2008-02-05T18:30:30 = Di Feb 5
570 1995-12-22T09:05:02 = Vr Des 22
571 -0010-09-15T04:44:23 = Sa Sep 15
573 =head3 MMMMEd (E MMMM d)
575 2008-02-05T18:30:30 = Di Februarie 5
576 1995-12-22T09:05:02 = Vr Desember 22
577 -0010-09-15T04:44:23 = Sa September 15
579 =head3 MMMMd (d MMMM)
581 2008-02-05T18:30:30 = 5 Februarie
582 1995-12-22T09:05:02 = 22 Desember
583 -0010-09-15T04:44:23 = 15 September
585 =head3 MMMMdd (dd MMMM)
587 2008-02-05T18:30:30 = 05 Februarie
588 1995-12-22T09:05:02 = 22 Desember
589 -0010-09-15T04:44:23 = 15 September
593 2008-02-05T18:30:30 = Feb 5
594 1995-12-22T09:05:02 = Des 22
595 -0010-09-15T04:44:23 = Sep 15
599 2008-02-05T18:30:30 = 02/05
600 1995-12-22T09:05:02 = 12/22
601 -0010-09-15T04:44:23 = 09/15
605 2008-02-05T18:30:30 = 2-5
606 1995-12-22T09:05:02 = 12-22
607 -0010-09-15T04:44:23 = 9-15
611 2008-02-05T18:30:30 = 5
612 1995-12-22T09:05:02 = 22
613 -0010-09-15T04:44:23 = 15
617 2008-02-05T18:30:30 = 6:30 nm.
618 1995-12-22T09:05:02 = 9:05 vm.
619 -0010-09-15T04:44:23 = 4:44 vm.
621 =head3 hms (h:mm:ss a)
623 2008-02-05T18:30:30 = 6:30:30 nm.
624 1995-12-22T09:05:02 = 9:05:02 vm.
625 -0010-09-15T04:44:23 = 4:44:23 vm.
629 2008-02-05T18:30:30 = 30:30
630 1995-12-22T09:05:02 = 05:02
631 -0010-09-15T04:44:23 = 44:23
635 2008-02-05T18:30:30 = 2008
636 1995-12-22T09:05:02 = 1995
637 -0010-09-15T04:44:23 = -10
641 2008-02-05T18:30:30 = 2008-2
642 1995-12-22T09:05:02 = 1995-12
643 -0010-09-15T04:44:23 = -10-9
645 =head3 yMEd (EEE, y-M-d)
647 2008-02-05T18:30:30 = Di, 2008-2-5
648 1995-12-22T09:05:02 = Vr, 1995-12-22
649 -0010-09-15T04:44:23 = Sa, -10-9-15
653 2008-02-05T18:30:30 = 2008 Feb
654 1995-12-22T09:05:02 = 1995 Des
655 -0010-09-15T04:44:23 = -10 Sep
657 =head3 yMMMEd (EEE, y MMM d)
659 2008-02-05T18:30:30 = Di, 2008 Feb 5
660 1995-12-22T09:05:02 = Vr, 1995 Des 22
661 -0010-09-15T04:44:23 = Sa, -10 Sep 15
663 =head3 yMMMM (y MMMM)
665 2008-02-05T18:30:30 = 2008 Februarie
666 1995-12-22T09:05:02 = 1995 Desember
667 -0010-09-15T04:44:23 = -10 September
671 2008-02-05T18:30:30 = 2008 1
672 1995-12-22T09:05:02 = 1995 4
673 -0010-09-15T04:44:23 = -10 3
677 2008-02-05T18:30:30 = 2008 K1
678 1995-12-22T09:05:02 = 1995 K4
679 -0010-09-15T04:44:23 = -10 K3
683 2008-02-05T18:30:30 = 1 08
684 1995-12-22T09:05:02 = 4 95
685 -0010-09-15T04:44:23 = 3 10
687 =head3 yyyyMM (yyyy/MM)
689 2008-02-05T18:30:30 = 2008/02
690 1995-12-22T09:05:02 = 1995/12
691 -0010-09-15T04:44:23 = -010/09
693 =head3 yyyyMMMM (MMMM y)
695 2008-02-05T18:30:30 = Februarie 2008
696 1995-12-22T09:05:02 = Desember 1995
697 -0010-09-15T04:44:23 = September -10
701 =head3 Prefers 24 hour time?
705 =head3 Local first day of the week
712 See L<DateTime::Locale>.
716 Dave Rolsky <autarch@urth.org>
720 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
721 free software; you can redistribute it and/or modify it under the same
722 terms as Perl itself.
724 This module was generated from data provided by the CLDR project, see
725 the LICENSE.cldr in this distribution for details on the CLDR data's