1###########################################################################
2#
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
6# generate-from-cldr.
7#
8# This file as generated from the CLDR XML locale data.  See the
9# LICENSE.cldr file included in this distribution for license details.
10#
11# This file was generated from the source file si.xml
12# The source file version number was 1.7, generated on
13# 2009/05/05 23:06:40.
14#
15# Do not edit this file directly.
16#
17###########################################################################
18
19package DateTime::Locale::si;
20
21use strict;
22use warnings;
23use utf8;
24
25use base 'DateTime::Locale::root';
26
27sub cldr_version { return "1\.7\.1" }
28
29{
30    my $am_pm_abbreviated = [ "පෙ\.ව\.", "ප\.ව\." ];
31    sub am_pm_abbreviated { return $am_pm_abbreviated }
32}
33{
34    my $date_format_full = "EEEE\,\ y\ MMMM\ d";
35    sub date_format_full { return $date_format_full }
36}
37
38{
39    my $date_format_long = "y\ MMMM\ d";
40    sub date_format_long { return $date_format_long }
41}
42
43{
44    my $date_format_medium = "y\ MMM\ d";
45    sub date_format_medium { return $date_format_medium }
46}
47
48{
49    my $date_format_short = "yyyy\/MM\/dd";
50    sub date_format_short { return $date_format_short }
51}
52
53{
54    my $day_format_abbreviated = [ "සඳු", "අඟ", "බදා", "බ්‍රහ", "සිකු", "සෙන", "ඉරි" ];
55    sub day_format_abbreviated { return $day_format_abbreviated }
56}
57
58sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
59
60{
61    my $day_format_wide = [ "සඳුදා", "අඟහරුවාදා", "බදාදා", "බ්‍රහස්පතින්දා", "සිකුරාදා", "සෙනසුරාදා", "ඉරිදා" ];
62    sub day_format_wide { return $day_format_wide }
63}
64
65sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
66
67{
68    my $day_stand_alone_narrow = [ "ස", "අ", "බ", "බ්‍ර", "සි", "සෙ", "ඉ" ];
69    sub day_stand_alone_narrow { return $day_stand_alone_narrow }
70}
71
72sub day_stand_alone_wide { $_[0]->day_format_wide() }
73
74{
75    my $era_abbreviated = [ "ක්‍රි\.පූ\.", "ක්‍රි\.ව\." ];
76    sub era_abbreviated { return $era_abbreviated }
77}
78
79sub era_narrow { $_[0]->era_abbreviated() }
80
81{
82    my $era_wide = [ "ක්‍රිස්තු\ පූර්‍ව", "ක්‍රිස්තු\ වර්‍ෂ" ];
83    sub era_wide { return $era_wide }
84}
85{
86    my $first_day_of_week = "1";
87    sub first_day_of_week { return $first_day_of_week }
88}
89
90{
91    my $month_format_abbreviated = [ "ජන", "පෙබ", "මාර්ත", "අප්‍රේල", "මැය", "ජූන", "ජූල", "අගෝ", "සැප", "ඔක", "නොවැ", "දෙසැ" ];
92    sub month_format_abbreviated { return $month_format_abbreviated }
93}
94
95sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
96
97{
98    my $month_format_wide = [ "ජනවාර", "පෙබරවාර", "මාර්ත", "අප්‍රේල්", "මැයි", "ජූන", "ජූලි", "අගෝස්තු", "සැප්තැම්බර්", "ඔක්තෝබර්", "නොවැම්බර්", "දෙසැම්බර්" ];
99    sub month_format_wide { return $month_format_wide }
100}
101
102sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
103
104{
105    my $month_stand_alone_narrow = [ "ජ", "පෙ", "මා", "අ", "මැ", "ජූ", "ජූ", "අ", "සැ", "ඔ", "නො", "දෙ" ];
106    sub month_stand_alone_narrow { return $month_stand_alone_narrow }
107}
108
109sub month_stand_alone_wide { $_[0]->month_format_wide() }
110
111{
112    my $quarter_format_abbreviated = [ "කාර්\:1", "කාර්\:2", "කාර්\:3", "කාර්\:4" ];
113    sub quarter_format_abbreviated { return $quarter_format_abbreviated }
114}
115{
116    my $quarter_format_wide = [ "1\ වන\ කාර්තුව", "2\ වන\ කාර්තුව", "3\ වන\ කාර්තුව", "4\ වන\ කාර්තුව" ];
117    sub quarter_format_wide { return $quarter_format_wide }
118}
119
120sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
121
122
123sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
124
125{
126    my $time_format_full = "h\:mm\:ss\ a\ zzzz";
127    sub time_format_full { return $time_format_full }
128}
129
130{
131    my $time_format_long = "h\:mm\:ss\ a\ z";
132    sub time_format_long { return $time_format_long }
133}
134
135{
136    my $time_format_medium = "h\:mm\:ss\ a";
137    sub time_format_medium { return $time_format_medium }
138}
139
140{
141    my $time_format_short = "h\:mm\ a";
142    sub time_format_short { return $time_format_short }
143}
144
1451;
146
147__END__
148
149
150=pod
151
152=encoding utf8
153
154=head1 NAME
155
156DateTime::Locale::si
157
158=head1 SYNOPSIS
159
160  use DateTime;
161
162  my $dt = DateTime->now( locale => 'si' );
163  print $dt->month_name();
164
165=head1 DESCRIPTION
166
167This is the DateTime locale package for Sinhala.
168
169=head1 DATA
170
171This locale inherits from the L<DateTime::Locale::root> locale.
172
173It contains the following data.
174
175=head2 Days
176
177=head3 Wide (format)
178
179  සඳුදා
180  අඟහරුවාදා
181  බදාදා
182  බ්‍රහස්පතින්දා
183  සිකුරාදා
184  සෙනසුරාදා
185  ඉරිදා
186
187=head3 Abbreviated (format)
188
189  සඳු
190  අඟ
191  බදා
192  බ්‍රහ
193  සිකු
194  සෙන
195  ඉරි
196
197=head3 Narrow (format)
198
199200201202  බ්‍ර
203  සි
204  සෙ
205206
207=head3 Wide (stand-alone)
208
209  සඳුදා
210  අඟහරුවාදා
211  බදාදා
212  බ්‍රහස්පතින්දා
213  සිකුරාදා
214  සෙනසුරාදා
215  ඉරිදා
216
217=head3 Abbreviated (stand-alone)
218
219  සඳු
220  අඟ
221  බදා
222  බ්‍රහ
223  සිකු
224  සෙන
225  ඉරි
226
227=head3 Narrow (stand-alone)
228
229230231232  බ්‍ර
233  සි
234  සෙ
235236
237=head2 Months
238
239=head3 Wide (format)
240
241  ජනවාර
242  පෙබරවාර
243  මාර්ත
244  අප්‍රේල්
245  මැයි
246  ජූන
247  ජූලි
248  අගෝස්තු
249  සැප්තැම්බර්
250  ඔක්තෝබර්
251  නොවැම්බර්
252  දෙසැම්බර්
253
254=head3 Abbreviated (format)
255
256  ජන
257  පෙබ
258  මාර්ත
259  අප්‍රේල
260  මැය
261  ජූන
262  ජූල
263  අගෝ
264  සැප
265  ඔක
266  නොවැ
267  දෙසැ
268
269=head3 Narrow (format)
270
271272  පෙ
273  මා
274275  මැ
276  ජූ
277  ජූ
278279  සැ
280281  නො
282  දෙ
283
284=head3 Wide (stand-alone)
285
286  ජනවාර
287  පෙබරවාර
288  මාර්ත
289  අප්‍රේල්
290  මැයි
291  ජූන
292  ජූලි
293  අගෝස්තු
294  සැප්තැම්බර්
295  ඔක්තෝබර්
296  නොවැම්බර්
297  දෙසැම්බර්
298
299=head3 Abbreviated (stand-alone)
300
301  ජන
302  පෙබ
303  මාර්ත
304  අප්‍රේල
305  මැය
306  ජූන
307  ජූල
308  අගෝ
309  සැප
310  ඔක
311  නොවැ
312  දෙසැ
313
314=head3 Narrow (stand-alone)
315
316317  පෙ
318  මා
319320  මැ
321  ජූ
322  ජූ
323324  සැ
325326  නො
327  දෙ
328
329=head2 Quarters
330
331=head3 Wide (format)
332
333  1 වන කාර්තුව
334  2 වන කාර්තුව
335  3 වන කාර්තුව
336  4 වන කාර්තුව
337
338=head3 Abbreviated (format)
339
340  කාර්:1
341  කාර්:2
342  කාර්:3
343  කාර්:4
344
345=head3 Narrow (format)
346
347  1
348  2
349  3
350  4
351
352=head3 Wide (stand-alone)
353
354  1 වන කාර්තුව
355  2 වන කාර්තුව
356  3 වන කාර්තුව
357  4 වන කාර්තුව
358
359=head3 Abbreviated (stand-alone)
360
361  කාර්:1
362  කාර්:2
363  කාර්:3
364  කාර්:4
365
366=head3 Narrow (stand-alone)
367
368  1
369  2
370  3
371  4
372
373=head2 Eras
374
375=head3 Wide
376
377  ක්‍රිස්තු පූර්‍ව
378  ක්‍රිස්තු වර්‍ෂ
379
380=head3 Abbreviated
381
382  ක්‍රි.පූ.
383  ක්‍රි.ව.
384
385=head3 Narrow
386
387  ක්‍රි.පූ.
388  ක්‍රි.ව.
389
390=head2 Date Formats
391
392=head3 Full
393
394   2008-02-05T18:30:30 = අඟහරුවාදා, 2008 පෙබරවාර 5
395   1995-12-22T09:05:02 = සිකුරාදා, 1995 දෙසැම්බර් 22
396  -0010-09-15T04:44:23 = සෙනසුරාදා, -10 සැප්තැම්බර් 15
397
398=head3 Long
399
400   2008-02-05T18:30:30 = 2008 පෙබරවාර 5
401   1995-12-22T09:05:02 = 1995 දෙසැම්බර් 22
402  -0010-09-15T04:44:23 = -10 සැප්තැම්බර් 15
403
404=head3 Medium
405
406   2008-02-05T18:30:30 = 2008 පෙබ 5
407   1995-12-22T09:05:02 = 1995 දෙසැ 22
408  -0010-09-15T04:44:23 = -10 සැප 15
409
410=head3 Short
411
412   2008-02-05T18:30:30 = 2008/02/05
413   1995-12-22T09:05:02 = 1995/12/22
414  -0010-09-15T04:44:23 = -010/09/15
415
416=head3 Default
417
418   2008-02-05T18:30:30 = 2008 පෙබ 5
419   1995-12-22T09:05:02 = 1995 දෙසැ 22
420  -0010-09-15T04:44:23 = -10 සැප 15
421
422=head2 Time Formats
423
424=head3 Full
425
426   2008-02-05T18:30:30 = 6:30:30 ප.ව. UTC
427   1995-12-22T09:05:02 = 9:05:02 පෙ.ව. UTC
428  -0010-09-15T04:44:23 = 4:44:23 පෙ.ව. UTC
429
430=head3 Long
431
432   2008-02-05T18:30:30 = 6:30:30 ප.ව. UTC
433   1995-12-22T09:05:02 = 9:05:02 පෙ.ව. UTC
434  -0010-09-15T04:44:23 = 4:44:23 පෙ.ව. UTC
435
436=head3 Medium
437
438   2008-02-05T18:30:30 = 6:30:30 ප.ව.
439   1995-12-22T09:05:02 = 9:05:02 පෙ.ව.
440  -0010-09-15T04:44:23 = 4:44:23 පෙ.ව.
441
442=head3 Short
443
444   2008-02-05T18:30:30 = 6:30 ප.ව.
445   1995-12-22T09:05:02 = 9:05 පෙ.ව.
446  -0010-09-15T04:44:23 = 4:44 පෙ.ව.
447
448=head3 Default
449
450   2008-02-05T18:30:30 = 6:30:30 ප.ව.
451   1995-12-22T09:05:02 = 9:05:02 පෙ.ව.
452  -0010-09-15T04:44:23 = 4:44:23 පෙ.ව.
453
454=head2 Datetime Formats
455
456=head3 Full
457
458   2008-02-05T18:30:30 = අඟහරුවාදා, 2008 පෙබරවාර 5 6:30:30 ප.ව. UTC
459   1995-12-22T09:05:02 = සිකුරාදා, 1995 දෙසැම්බර් 22 9:05:02 පෙ.ව. UTC
460  -0010-09-15T04:44:23 = සෙනසුරාදා, -10 සැප්තැම්බර් 15 4:44:23 පෙ.ව. UTC
461
462=head3 Long
463
464   2008-02-05T18:30:30 = 2008 පෙබරවාර 5 6:30:30 ප.ව. UTC
465   1995-12-22T09:05:02 = 1995 දෙසැම්බර් 22 9:05:02 පෙ.ව. UTC
466  -0010-09-15T04:44:23 = -10 සැප්තැම්බර් 15 4:44:23 පෙ.ව. UTC
467
468=head3 Medium
469
470   2008-02-05T18:30:30 = 2008 පෙබ 5 6:30:30 ප.ව.
471   1995-12-22T09:05:02 = 1995 දෙසැ 22 9:05:02 පෙ.ව.
472  -0010-09-15T04:44:23 = -10 සැප 15 4:44:23 පෙ.ව.
473
474=head3 Short
475
476   2008-02-05T18:30:30 = 2008/02/05 6:30 ප.ව.
477   1995-12-22T09:05:02 = 1995/12/22 9:05 පෙ.ව.
478  -0010-09-15T04:44:23 = -010/09/15 4:44 පෙ.ව.
479
480=head3 Default
481
482   2008-02-05T18:30:30 = 2008 පෙබ 5 6:30:30 ප.ව.
483   1995-12-22T09:05:02 = 1995 දෙසැ 22 9:05:02 පෙ.ව.
484  -0010-09-15T04:44:23 = -10 සැප 15 4:44:23 පෙ.ව.
485
486=head2 Available Formats
487
488=head3 d (d)
489
490   2008-02-05T18:30:30 = 5
491   1995-12-22T09:05:02 = 22
492  -0010-09-15T04:44:23 = 15
493
494=head3 EEEd (d EEE)
495
496   2008-02-05T18:30:30 = 5 අඟ
497   1995-12-22T09:05:02 = 22 සිකු
498  -0010-09-15T04:44:23 = 15 සෙන
499
500=head3 Hm (H:mm)
501
502   2008-02-05T18:30:30 = 18:30
503   1995-12-22T09:05:02 = 9:05
504  -0010-09-15T04:44:23 = 4:44
505
506=head3 hm (h:mm a)
507
508   2008-02-05T18:30:30 = 6:30 ප.ව.
509   1995-12-22T09:05:02 = 9:05 පෙ.ව.
510  -0010-09-15T04:44:23 = 4:44 පෙ.ව.
511
512=head3 Hms (H:mm:ss)
513
514   2008-02-05T18:30:30 = 18:30:30
515   1995-12-22T09:05:02 = 9:05:02
516  -0010-09-15T04:44:23 = 4:44:23
517
518=head3 hms (h:mm:ss a)
519
520   2008-02-05T18:30:30 = 6:30:30 ප.ව.
521   1995-12-22T09:05:02 = 9:05:02 පෙ.ව.
522  -0010-09-15T04:44:23 = 4:44:23 පෙ.ව.
523
524=head3 M (L)
525
526   2008-02-05T18:30:30 = 2
527   1995-12-22T09:05:02 = 12
528  -0010-09-15T04:44:23 = 9
529
530=head3 Md (M-d)
531
532   2008-02-05T18:30:30 = 2-5
533   1995-12-22T09:05:02 = 12-22
534  -0010-09-15T04:44:23 = 9-15
535
536=head3 MEd (E, M-d)
537
538   2008-02-05T18:30:30 = අඟ, 2-5
539   1995-12-22T09:05:02 = සිකු, 12-22
540  -0010-09-15T04:44:23 = සෙන, 9-15
541
542=head3 MMM (LLL)
543
544   2008-02-05T18:30:30 = පෙබ
545   1995-12-22T09:05:02 = දෙසැ
546  -0010-09-15T04:44:23 = සැප
547
548=head3 MMMd (MMM d)
549
550   2008-02-05T18:30:30 = පෙබ 5
551   1995-12-22T09:05:02 = දෙසැ 22
552  -0010-09-15T04:44:23 = සැප 15
553
554=head3 MMMEd (E MMM d)
555
556   2008-02-05T18:30:30 = අඟ පෙබ 5
557   1995-12-22T09:05:02 = සිකු දෙසැ 22
558  -0010-09-15T04:44:23 = සෙන සැප 15
559
560=head3 MMMMd (MMMM d)
561
562   2008-02-05T18:30:30 = පෙබරවාර 5
563   1995-12-22T09:05:02 = දෙසැම්බර් 22
564  -0010-09-15T04:44:23 = සැප්තැම්බර් 15
565
566=head3 MMMMEd (E MMMM d)
567
568   2008-02-05T18:30:30 = අඟ පෙබරවාර 5
569   1995-12-22T09:05:02 = සිකු දෙසැම්බර් 22
570  -0010-09-15T04:44:23 = සෙන සැප්තැම්බර් 15
571
572=head3 ms (mm:ss)
573
574   2008-02-05T18:30:30 = 30:30
575   1995-12-22T09:05:02 = 05:02
576  -0010-09-15T04:44:23 = 44:23
577
578=head3 y (y)
579
580   2008-02-05T18:30:30 = 2008
581   1995-12-22T09:05:02 = 1995
582  -0010-09-15T04:44:23 = -10
583
584=head3 yM (y-M)
585
586   2008-02-05T18:30:30 = 2008-2
587   1995-12-22T09:05:02 = 1995-12
588  -0010-09-15T04:44:23 = -10-9
589
590=head3 yMEd (EEE, y-M-d)
591
592   2008-02-05T18:30:30 = අඟ, 2008-2-5
593   1995-12-22T09:05:02 = සිකු, 1995-12-22
594  -0010-09-15T04:44:23 = සෙන, -10-9-15
595
596=head3 yMMM (y MMM)
597
598   2008-02-05T18:30:30 = 2008 පෙබ
599   1995-12-22T09:05:02 = 1995 දෙසැ
600  -0010-09-15T04:44:23 = -10 සැප
601
602=head3 yMMMEd (EEE, y MMM d)
603
604   2008-02-05T18:30:30 = අඟ, 2008 පෙබ 5
605   1995-12-22T09:05:02 = සිකු, 1995 දෙසැ 22
606  -0010-09-15T04:44:23 = සෙන, -10 සැප 15
607
608=head3 yMMMM (y MMMM)
609
610   2008-02-05T18:30:30 = 2008 පෙබරවාර
611   1995-12-22T09:05:02 = 1995 දෙසැම්බර්
612  -0010-09-15T04:44:23 = -10 සැප්තැම්බර්
613
614=head3 yQ (y Q)
615
616   2008-02-05T18:30:30 = 2008 1
617   1995-12-22T09:05:02 = 1995 4
618  -0010-09-15T04:44:23 = -10 3
619
620=head3 yQQQ (y QQQ)
621
622   2008-02-05T18:30:30 = 2008 කාර්:1
623   1995-12-22T09:05:02 = 1995 කාර්:4
624  -0010-09-15T04:44:23 = -10 කාර්:3
625
626=head2 Miscellaneous
627
628=head3 Prefers 24 hour time?
629
630No
631
632=head3 Local first day of the week
633
634සඳුදා
635
636
637=head1 SUPPORT
638
639See L<DateTime::Locale>.
640
641=head1 AUTHOR
642
643Dave Rolsky <autarch@urth.org>
644
645=head1 COPYRIGHT
646
647Copyright (c) 2008 David Rolsky. All rights reserved. This program is
648free software; you can redistribute it and/or modify it under the same
649terms as Perl itself.
650
651This module was generated from data provided by the CLDR project, see
652the LICENSE.cldr in this distribution for details on the CLDR data's
653license.
654
655=cut
656