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 pa.xml
12 # The source file version number was 1.76, generated on
13 # 2009/06/15 04:15:33.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::pa;
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\,\ dd\ 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 = [ "ਸੋਮ\.", "ਮੰਗਲ\.", "ਬੁਧ\.", "ਵੀਰ\.", "ਸ਼ੁਕਰ\.", "ਸ਼ਨੀ\.", "ਐਤ\." ];
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 = [ "ਸੋ", "ਮੰ", "ਬੁੱ", "ਵੀ", "ਸ਼ੁੱ", "ਸ਼", "ਐ" ];
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 = [ "BCE", "CE" ];
76 sub era_abbreviated { return $era_abbreviated }
79 sub era_narrow { $_[0]->era_abbreviated() }
82 my $era_wide = [ "ਈਸਾਪੂਰਵ", "ਸੰਨ" ];
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 sub month_format_abbreviated { $_[0]->month_format_wide() }
94 sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
97 my $month_format_wide = [ "ਜਨਵਰੀ", "ਫ਼ਰਵਰੀ", "ਮਾਰਚ", "ਅਪ੍ਰੈਲ", "ਮਈ", "ਜੂਨ", "ਜੁਲਾਈ", "ਅਗਸਤ", "ਸਤੰਬਰ", "ਅਕਤੂਬਰ", "ਨਵੰਬਰ", "ਦਸੰਬਰ" ];
98 sub month_format_wide { return $month_format_wide }
101 my $month_stand_alone_narrow = [ "ਜ", "ਫ", "ਮਾ", "ਅ", "ਮ", "ਜੂ", "ਜੁ", "ਅ", "ਸ", "ਅ", "ਨ", "ਦ" ];
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 = [ "ਪਹਿਲਾਂ\ ਚੌਥਾਈ", "ਦੂਜਾ\ ਚੌਥਾਈ", "ਤੀਜਾ\ ਚੌਥਾਈ", "ਚੌਥਾ\ ਚੌਥਾਈ" ];
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\ a";
138 sub time_format_short { return $time_format_short }
142 my $_format_for_HHmmss = "HH\:mm\:ss";
143 sub _format_for_HHmmss { return $_format_for_HHmmss }
147 my $_format_for_Md = "d\/M";
148 sub _format_for_Md { return $_format_for_Md }
152 my $_format_for_mmss = "mm\:ss";
153 sub _format_for_mmss { return $_format_for_mmss }
157 my $_format_for_yyMMM = "MMM\ yy";
158 sub _format_for_yyMMM { return $_format_for_yyMMM }
162 my $_format_for_yyQ = "Q\ yy";
163 sub _format_for_yyQ { return $_format_for_yyQ }
167 my $_available_formats =
169 "HHmmss" => "HH\:mm\:ss",
172 "yyMMM" => "MMM\ yy",
175 sub _available_formats { return $_available_formats }
195 my $dt = DateTime->now( locale => 'pa' );
196 print $dt->month_name();
200 This is the DateTime locale package for Punjabi.
204 This locale inherits from the L<DateTime::Locale::root> locale.
206 It contains the following data.
220 =head3 Abbreviated (format)
230 =head3 Narrow (format)
240 =head3 Wide (stand-alone)
250 =head3 Abbreviated (stand-alone)
260 =head3 Narrow (stand-alone)
287 =head3 Abbreviated (format)
302 =head3 Narrow (format)
317 =head3 Wide (stand-alone)
332 =head3 Abbreviated (stand-alone)
347 =head3 Narrow (stand-alone)
371 =head3 Abbreviated (format)
378 =head3 Narrow (format)
385 =head3 Wide (stand-alone)
392 =head3 Abbreviated (stand-alone)
399 =head3 Narrow (stand-alone)
427 2008-02-05T18:30:30 = ਮੰਗਲਵਾਰ, 05 ਫ਼ਰਵਰੀ 2008
428 1995-12-22T09:05:02 = ਸ਼ੁੱਕਰਵਾਰ, 22 ਦਸੰਬਰ 1995
429 -0010-09-15T04:44:23 = ਸ਼ਨੀਚਰਵਾਰ, 15 ਸਤੰਬਰ -10
433 2008-02-05T18:30:30 = 5 ਫ਼ਰਵਰੀ 2008
434 1995-12-22T09:05:02 = 22 ਦਸੰਬਰ 1995
435 -0010-09-15T04:44:23 = 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
445 2008-02-05T18:30:30 = 05/02/2008
446 1995-12-22T09:05:02 = 22/12/1995
447 -0010-09-15T04:44:23 = 15/09/-010
451 2008-02-05T18:30:30 = 5 ਫ਼ਰਵਰੀ 2008
452 1995-12-22T09:05:02 = 22 ਦਸੰਬਰ 1995
453 -0010-09-15T04:44:23 = 15 ਸਤੰਬਰ -10
459 2008-02-05T18:30:30 = 6:30:30 ਸ਼ਾਮ UTC
460 1995-12-22T09:05:02 = 9:05:02 ਸਵੇਰੇ UTC
461 -0010-09-15T04:44:23 = 4:44:23 ਸਵੇਰੇ UTC
465 2008-02-05T18:30:30 = 6:30:30 ਸ਼ਾਮ UTC
466 1995-12-22T09:05:02 = 9:05:02 ਸਵੇਰੇ UTC
467 -0010-09-15T04:44:23 = 4:44:23 ਸਵੇਰੇ UTC
471 2008-02-05T18:30:30 = 6:30:30 ਸ਼ਾਮ
472 1995-12-22T09:05:02 = 9:05:02 ਸਵੇਰੇ
473 -0010-09-15T04:44:23 = 4:44:23 ਸਵੇਰੇ
477 2008-02-05T18:30:30 = 6:30 ਸ਼ਾਮ
478 1995-12-22T09:05:02 = 9:05 ਸਵੇਰੇ
479 -0010-09-15T04:44:23 = 4:44 ਸਵੇਰੇ
483 2008-02-05T18:30:30 = 6:30:30 ਸ਼ਾਮ
484 1995-12-22T09:05:02 = 9:05:02 ਸਵੇਰੇ
485 -0010-09-15T04:44:23 = 4:44:23 ਸਵੇਰੇ
487 =head2 Datetime Formats
491 2008-02-05T18:30:30 = ਮੰਗਲਵਾਰ, 05 ਫ਼ਰਵਰੀ 2008 6:30:30 ਸ਼ਾਮ UTC
492 1995-12-22T09:05:02 = ਸ਼ੁੱਕਰਵਾਰ, 22 ਦਸੰਬਰ 1995 9:05:02 ਸਵੇਰੇ UTC
493 -0010-09-15T04:44:23 = ਸ਼ਨੀਚਰਵਾਰ, 15 ਸਤੰਬਰ -10 4:44:23 ਸਵੇਰੇ UTC
497 2008-02-05T18:30:30 = 5 ਫ਼ਰਵਰੀ 2008 6:30:30 ਸ਼ਾਮ UTC
498 1995-12-22T09:05:02 = 22 ਦਸੰਬਰ 1995 9:05:02 ਸਵੇਰੇ UTC
499 -0010-09-15T04:44:23 = 15 ਸਤੰਬਰ -10 4:44:23 ਸਵੇਰੇ UTC
503 2008-02-05T18:30:30 = 5 ਫ਼ਰਵਰੀ 2008 6:30:30 ਸ਼ਾਮ
504 1995-12-22T09:05:02 = 22 ਦਸੰਬਰ 1995 9:05:02 ਸਵੇਰੇ
505 -0010-09-15T04:44:23 = 15 ਸਤੰਬਰ -10 4:44:23 ਸਵੇਰੇ
509 2008-02-05T18:30:30 = 05/02/2008 6:30 ਸ਼ਾਮ
510 1995-12-22T09:05:02 = 22/12/1995 9:05 ਸਵੇਰੇ
511 -0010-09-15T04:44:23 = 15/09/-010 4:44 ਸਵੇਰੇ
515 2008-02-05T18:30:30 = 5 ਫ਼ਰਵਰੀ 2008 6:30:30 ਸ਼ਾਮ
516 1995-12-22T09:05:02 = 22 ਦਸੰਬਰ 1995 9:05:02 ਸਵੇਰੇ
517 -0010-09-15T04:44:23 = 15 ਸਤੰਬਰ -10 4:44:23 ਸਵੇਰੇ
519 =head2 Available Formats
523 2008-02-05T18:30:30 = 5 ਮੰਗਲ.
524 1995-12-22T09:05:02 = 22 ਸ਼ੁਕਰ.
525 -0010-09-15T04:44:23 = 15 ਸ਼ਨੀ.
527 =head3 HHmmss (HH:mm:ss)
529 2008-02-05T18:30:30 = 18:30:30
530 1995-12-22T09:05:02 = 09:05:02
531 -0010-09-15T04:44:23 = 04:44:23
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:30
542 1995-12-22T09:05:02 = 9:05:02
543 -0010-09-15T04:44:23 = 4:44:23
547 2008-02-05T18:30:30 = 2
548 1995-12-22T09:05:02 = 12
549 -0010-09-15T04:44:23 = 9
553 2008-02-05T18:30:30 = ਮੰਗਲ., 2-5
554 1995-12-22T09:05:02 = ਸ਼ੁਕਰ., 12-22
555 -0010-09-15T04:44:23 = ਸ਼ਨੀ., 9-15
559 2008-02-05T18:30:30 = 2
560 1995-12-22T09:05:02 = 12
561 -0010-09-15T04:44:23 = 9
563 =head3 MMMEd (E MMM d)
565 2008-02-05T18:30:30 = ਮੰਗਲ. ਫ਼ਰਵਰੀ 5
566 1995-12-22T09:05:02 = ਸ਼ੁਕਰ. ਦਸੰਬਰ 22
567 -0010-09-15T04:44:23 = ਸ਼ਨੀ. ਸਤੰਬਰ 15
569 =head3 MMMMEd (E MMMM d)
571 2008-02-05T18:30:30 = ਮੰਗਲ. ਫ਼ਰਵਰੀ 5
572 1995-12-22T09:05:02 = ਸ਼ੁਕਰ. ਦਸੰਬਰ 22
573 -0010-09-15T04:44:23 = ਸ਼ਨੀ. ਸਤੰਬਰ 15
575 =head3 MMMMd (MMMM d)
577 2008-02-05T18:30:30 = ਫ਼ਰਵਰੀ 5
578 1995-12-22T09:05:02 = ਦਸੰਬਰ 22
579 -0010-09-15T04:44:23 = ਸਤੰਬਰ 15
583 2008-02-05T18:30:30 = ਫ਼ਰਵਰੀ 5
584 1995-12-22T09:05:02 = ਦਸੰਬਰ 22
585 -0010-09-15T04:44:23 = ਸਤੰਬਰ 15
589 2008-02-05T18:30:30 = 5/2
590 1995-12-22T09:05:02 = 22/12
591 -0010-09-15T04:44:23 = 15/9
595 2008-02-05T18:30:30 = 5
596 1995-12-22T09:05:02 = 22
597 -0010-09-15T04:44:23 = 15
601 2008-02-05T18:30:30 = 6:30 ਸ਼ਾਮ
602 1995-12-22T09:05:02 = 9:05 ਸਵੇਰੇ
603 -0010-09-15T04:44:23 = 4:44 ਸਵੇਰੇ
605 =head3 hms (h:mm:ss a)
607 2008-02-05T18:30:30 = 6:30:30 ਸ਼ਾਮ
608 1995-12-22T09:05:02 = 9:05:02 ਸਵੇਰੇ
609 -0010-09-15T04:44:23 = 4:44:23 ਸਵੇਰੇ
613 2008-02-05T18:30:30 = 30:30
614 1995-12-22T09:05:02 = 05:02
615 -0010-09-15T04:44:23 = 44:23
619 2008-02-05T18:30:30 = 30:30
620 1995-12-22T09:05:02 = 05:02
621 -0010-09-15T04:44:23 = 44:23
625 2008-02-05T18:30:30 = 2008
626 1995-12-22T09:05:02 = 1995
627 -0010-09-15T04:44:23 = -10
631 2008-02-05T18:30:30 = 2008-2
632 1995-12-22T09:05:02 = 1995-12
633 -0010-09-15T04:44:23 = -10-9
635 =head3 yMEd (EEE, y-M-d)
637 2008-02-05T18:30:30 = ਮੰਗਲ., 2008-2-5
638 1995-12-22T09:05:02 = ਸ਼ੁਕਰ., 1995-12-22
639 -0010-09-15T04:44:23 = ਸ਼ਨੀ., -10-9-15
643 2008-02-05T18:30:30 = 2008 ਫ਼ਰਵਰੀ
644 1995-12-22T09:05:02 = 1995 ਦਸੰਬਰ
645 -0010-09-15T04:44:23 = -10 ਸਤੰਬਰ
647 =head3 yMMMEd (EEE, y MMM d)
649 2008-02-05T18:30:30 = ਮੰਗਲ., 2008 ਫ਼ਰਵਰੀ 5
650 1995-12-22T09:05:02 = ਸ਼ੁਕਰ., 1995 ਦਸੰਬਰ 22
651 -0010-09-15T04:44:23 = ਸ਼ਨੀ., -10 ਸਤੰਬਰ 15
653 =head3 yMMMM (y MMMM)
655 2008-02-05T18:30:30 = 2008 ਫ਼ਰਵਰੀ
656 1995-12-22T09:05:02 = 1995 ਦਸੰਬਰ
657 -0010-09-15T04:44:23 = -10 ਸਤੰਬਰ
661 2008-02-05T18:30:30 = 2008 1
662 1995-12-22T09:05:02 = 1995 4
663 -0010-09-15T04:44:23 = -10 3
667 2008-02-05T18:30:30 = 2008 Q1
668 1995-12-22T09:05:02 = 1995 Q4
669 -0010-09-15T04:44:23 = -10 Q3
671 =head3 yyMMM (MMM yy)
673 2008-02-05T18:30:30 = ਫ਼ਰਵਰੀ 08
674 1995-12-22T09:05:02 = ਦਸੰਬਰ 95
675 -0010-09-15T04:44:23 = ਸਤੰਬਰ 10
679 2008-02-05T18:30:30 = 1 08
680 1995-12-22T09:05:02 = 4 95
681 -0010-09-15T04:44:23 = 3 10
685 =head3 Prefers 24 hour time?
689 =head3 Local first day of the week
696 See L<DateTime::Locale>.
700 Dave Rolsky <autarch@urth.org>
704 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
705 free software; you can redistribute it and/or modify it under the same
706 terms as Perl itself.
708 This module was generated from data provided by the CLDR project, see
709 the LICENSE.cldr in this distribution for details on the CLDR data's