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 sa.xml
12 # The source file version number was 1.52, generated on
13 # 2009/06/15 04:15:33.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::sa;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $date_format_full = "EEEE\ d\ MMMM\ y";
31 sub date_format_full { return $date_format_full }
35 my $date_format_long = "d\ MMMM\ y";
36 sub date_format_long { return $date_format_long }
40 my $date_format_medium = "dd\-MM\-yyyy";
41 sub date_format_medium { return $date_format_medium }
45 my $date_format_short = "d\-MM\-yy";
46 sub date_format_short { return $date_format_short }
50 my $first_day_of_week = "1";
51 sub first_day_of_week { return $first_day_of_week }
55 my $time_format_full = "hh\:mm\:ss\ a\ zzzz";
56 sub time_format_full { return $time_format_full }
60 my $time_format_long = "hh\:mm\:ss\ a\ z";
61 sub time_format_long { return $time_format_long }
65 my $time_format_medium = "hh\:mm\:ss\ a";
66 sub time_format_medium { return $time_format_medium }
70 my $time_format_short = "hh\:mm\ a";
71 sub time_format_short { return $time_format_short }
75 my $_format_for_MMMMd = "d\ MMMM";
76 sub _format_for_MMMMd { return $_format_for_MMMMd }
80 my $_format_for_MMdd = "dd\-MM";
81 sub _format_for_MMdd { return $_format_for_MMdd }
85 my $_format_for_yyQ = "Q\ yy";
86 sub _format_for_yyQ { return $_format_for_yyQ }
90 my $_format_for_yyyyMM = "MM\-yyyy";
91 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
95 my $_format_for_yyyyMMMM = "MMMM\ y";
96 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
100 my $_available_formats =
102 "MMMMd" => "d\ MMMM",
105 "yyyyMM" => "MM\-yyyy",
106 "yyyyMMMM" => "MMMM\ y"
108 sub _available_formats { return $_available_formats }
128 my $dt = DateTime->now( locale => 'sa' );
129 print $dt->month_name();
133 This is the DateTime locale package for Sanskrit.
137 This locale inherits from the L<DateTime::Locale::root> locale.
139 It contains the following data.
153 =head3 Abbreviated (format)
163 =head3 Narrow (format)
173 =head3 Wide (stand-alone)
183 =head3 Abbreviated (stand-alone)
193 =head3 Narrow (stand-alone)
220 =head3 Abbreviated (format)
235 =head3 Narrow (format)
250 =head3 Wide (stand-alone)
265 =head3 Abbreviated (stand-alone)
280 =head3 Narrow (stand-alone)
304 =head3 Abbreviated (format)
311 =head3 Narrow (format)
318 =head3 Wide (stand-alone)
325 =head3 Abbreviated (stand-alone)
332 =head3 Narrow (stand-alone)
360 2008-02-05T18:30:30 = 3 5 2 2008
361 1995-12-22T09:05:02 = 6 22 12 1995
362 -0010-09-15T04:44:23 = 7 15 9 -10
366 2008-02-05T18:30:30 = 5 2 2008
367 1995-12-22T09:05:02 = 22 12 1995
368 -0010-09-15T04:44:23 = 15 9 -10
372 2008-02-05T18:30:30 = 05-02-2008
373 1995-12-22T09:05:02 = 22-12-1995
374 -0010-09-15T04:44:23 = 15-09--010
378 2008-02-05T18:30:30 = 5-02-08
379 1995-12-22T09:05:02 = 22-12-95
380 -0010-09-15T04:44:23 = 15-09-10
384 2008-02-05T18:30:30 = 05-02-2008
385 1995-12-22T09:05:02 = 22-12-1995
386 -0010-09-15T04:44:23 = 15-09--010
392 2008-02-05T18:30:30 = 06:30:30 PM UTC
393 1995-12-22T09:05:02 = 09:05:02 AM UTC
394 -0010-09-15T04:44:23 = 04:44:23 AM UTC
398 2008-02-05T18:30:30 = 06:30:30 PM UTC
399 1995-12-22T09:05:02 = 09:05:02 AM UTC
400 -0010-09-15T04:44:23 = 04:44:23 AM UTC
404 2008-02-05T18:30:30 = 06:30:30 PM
405 1995-12-22T09:05:02 = 09:05:02 AM
406 -0010-09-15T04:44:23 = 04:44:23 AM
410 2008-02-05T18:30:30 = 06:30 PM
411 1995-12-22T09:05:02 = 09:05 AM
412 -0010-09-15T04:44:23 = 04:44 AM
416 2008-02-05T18:30:30 = 06:30:30 PM
417 1995-12-22T09:05:02 = 09:05:02 AM
418 -0010-09-15T04:44:23 = 04:44:23 AM
420 =head2 Datetime Formats
424 2008-02-05T18:30:30 = 3 5 2 2008 06:30:30 PM UTC
425 1995-12-22T09:05:02 = 6 22 12 1995 09:05:02 AM UTC
426 -0010-09-15T04:44:23 = 7 15 9 -10 04:44:23 AM UTC
430 2008-02-05T18:30:30 = 5 2 2008 06:30:30 PM UTC
431 1995-12-22T09:05:02 = 22 12 1995 09:05:02 AM UTC
432 -0010-09-15T04:44:23 = 15 9 -10 04:44:23 AM UTC
436 2008-02-05T18:30:30 = 05-02-2008 06:30:30 PM
437 1995-12-22T09:05:02 = 22-12-1995 09:05:02 AM
438 -0010-09-15T04:44:23 = 15-09--010 04:44:23 AM
442 2008-02-05T18:30:30 = 5-02-08 06:30 PM
443 1995-12-22T09:05:02 = 22-12-95 09:05 AM
444 -0010-09-15T04:44:23 = 15-09-10 04:44 AM
448 2008-02-05T18:30:30 = 05-02-2008 06:30:30 PM
449 1995-12-22T09:05:02 = 22-12-1995 09:05:02 AM
450 -0010-09-15T04:44:23 = 15-09--010 04:44:23 AM
452 =head2 Available Formats
456 2008-02-05T18:30:30 = 5 3
457 1995-12-22T09:05:02 = 22 6
458 -0010-09-15T04:44:23 = 15 7
462 2008-02-05T18:30:30 = 18:30
463 1995-12-22T09:05:02 = 9:05
464 -0010-09-15T04:44:23 = 4:44
468 2008-02-05T18:30:30 = 18:30:30
469 1995-12-22T09:05:02 = 9:05:02
470 -0010-09-15T04:44:23 = 4:44:23
474 2008-02-05T18:30:30 = 2
475 1995-12-22T09:05:02 = 12
476 -0010-09-15T04:44:23 = 9
480 2008-02-05T18:30:30 = 3, 2-5
481 1995-12-22T09:05:02 = 6, 12-22
482 -0010-09-15T04:44:23 = 7, 9-15
486 2008-02-05T18:30:30 = 2
487 1995-12-22T09:05:02 = 12
488 -0010-09-15T04:44:23 = 9
490 =head3 MMMEd (E MMM d)
492 2008-02-05T18:30:30 = 3 2 5
493 1995-12-22T09:05:02 = 6 12 22
494 -0010-09-15T04:44:23 = 7 9 15
496 =head3 MMMMEd (E MMMM d)
498 2008-02-05T18:30:30 = 3 2 5
499 1995-12-22T09:05:02 = 6 12 22
500 -0010-09-15T04:44:23 = 7 9 15
502 =head3 MMMMd (d MMMM)
504 2008-02-05T18:30:30 = 5 2
505 1995-12-22T09:05:02 = 22 12
506 -0010-09-15T04:44:23 = 15 9
510 2008-02-05T18:30:30 = 2 5
511 1995-12-22T09:05:02 = 12 22
512 -0010-09-15T04:44:23 = 9 15
516 2008-02-05T18:30:30 = 05-02
517 1995-12-22T09:05:02 = 22-12
518 -0010-09-15T04:44:23 = 15-09
522 2008-02-05T18:30:30 = 2-5
523 1995-12-22T09:05:02 = 12-22
524 -0010-09-15T04:44:23 = 9-15
528 2008-02-05T18:30:30 = 5
529 1995-12-22T09:05:02 = 22
530 -0010-09-15T04:44:23 = 15
534 2008-02-05T18:30:30 = 6:30 PM
535 1995-12-22T09:05:02 = 9:05 AM
536 -0010-09-15T04:44:23 = 4:44 AM
538 =head3 hms (h:mm:ss a)
540 2008-02-05T18:30:30 = 6:30:30 PM
541 1995-12-22T09:05:02 = 9:05:02 AM
542 -0010-09-15T04:44:23 = 4:44:23 AM
546 2008-02-05T18:30:30 = 30:30
547 1995-12-22T09:05:02 = 05:02
548 -0010-09-15T04:44:23 = 44:23
552 2008-02-05T18:30:30 = 2008
553 1995-12-22T09:05:02 = 1995
554 -0010-09-15T04:44:23 = -10
558 2008-02-05T18:30:30 = 2008-2
559 1995-12-22T09:05:02 = 1995-12
560 -0010-09-15T04:44:23 = -10-9
562 =head3 yMEd (EEE, y-M-d)
564 2008-02-05T18:30:30 = 3, 2008-2-5
565 1995-12-22T09:05:02 = 6, 1995-12-22
566 -0010-09-15T04:44:23 = 7, -10-9-15
570 2008-02-05T18:30:30 = 2008 2
571 1995-12-22T09:05:02 = 1995 12
572 -0010-09-15T04:44:23 = -10 9
574 =head3 yMMMEd (EEE, y MMM d)
576 2008-02-05T18:30:30 = 3, 2008 2 5
577 1995-12-22T09:05:02 = 6, 1995 12 22
578 -0010-09-15T04:44:23 = 7, -10 9 15
580 =head3 yMMMM (y MMMM)
582 2008-02-05T18:30:30 = 2008 2
583 1995-12-22T09:05:02 = 1995 12
584 -0010-09-15T04:44:23 = -10 9
588 2008-02-05T18:30:30 = 2008 1
589 1995-12-22T09:05:02 = 1995 4
590 -0010-09-15T04:44:23 = -10 3
594 2008-02-05T18:30:30 = 2008 Q1
595 1995-12-22T09:05:02 = 1995 Q4
596 -0010-09-15T04:44:23 = -10 Q3
600 2008-02-05T18:30:30 = 1 08
601 1995-12-22T09:05:02 = 4 95
602 -0010-09-15T04:44:23 = 3 10
604 =head3 yyyyMM (MM-yyyy)
606 2008-02-05T18:30:30 = 02-2008
607 1995-12-22T09:05:02 = 12-1995
608 -0010-09-15T04:44:23 = 09--010
610 =head3 yyyyMMMM (MMMM y)
612 2008-02-05T18:30:30 = 2 2008
613 1995-12-22T09:05:02 = 12 1995
614 -0010-09-15T04:44:23 = 9 -10
618 =head3 Prefers 24 hour time?
622 =head3 Local first day of the week
629 See L<DateTime::Locale>.
633 Dave Rolsky <autarch@urth.org>
637 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
638 free software; you can redistribute it and/or modify it under the same
639 terms as Perl itself.
641 This module was generated from data provided by the CLDR project, see
642 the LICENSE.cldr in this distribution for details on the CLDR data's