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 tn.xml
12# The source file version number was 1.31, generated on
13# 2009/05/05 23:06:41.
14#
15# Do not edit this file directly.
16#
17###########################################################################
18
19package DateTime::Locale::tn;
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 = [ "AM", "PM" ];
31    sub am_pm_abbreviated { return $am_pm_abbreviated }
32}
33{
34    my $date_format_full = "EEEE\,\ y\ MMMM\ dd";
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 = "yy\/MM\/dd";
50    sub date_format_short { return $date_format_short }
51}
52
53{
54    my $day_format_abbreviated = [ "Mos", "Bed", "Rar", "Ne", "Tla", "Mat", "Tsh" ];
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 = [ "Mosopulogo", "Labobedi", "Laboraro", "Labone", "Labotlhano", "Matlhatso", "Tshipi" ];
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 = [ "2", "3", "4", "5", "6", "7", "1" ];
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 = [ "BC", "AD" ];
76    sub era_abbreviated { return $era_abbreviated }
77}
78
79sub era_narrow { $_[0]->era_abbreviated() }
80
81{
82    my $era_wide = [ "BC", "AD" ];
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 = [ "Fer", "Tlh", "Mop", "Mor", "Mot", "See", "Phu", "Pha", "Lwe", "Dip", "Ngw", "Sed" ];
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 = [ "Ferikgong", "Tlhakole", "Mopitlo", "Moranang", "Motsheganang", "Seetebosigo", "Phukwi", "Phatwe", "Lwetse", "Diphalane", "Ngwanatsele", "Sedimonthole" ];
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 = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
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 = [ "Q1", "Q2", "Q3", "Q4" ];
113    sub quarter_format_abbreviated { return $quarter_format_abbreviated }
114}
115{
116    my $quarter_format_wide = [ "Q1", "Q2", "Q3", "Q4" ];
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 = "HH\:mm\:ss\ zzzz";
127    sub time_format_full { return $time_format_full }
128}
129
130{
131    my $time_format_long = "HH\:mm\:ss\ z";
132    sub time_format_long { return $time_format_long }
133}
134
135{
136    my $time_format_medium = "HH\:mm\:ss";
137    sub time_format_medium { return $time_format_medium }
138}
139
140{
141    my $time_format_short = "HH\:mm";
142    sub time_format_short { return $time_format_short }
143}
144
145{
146    my $_format_for_yyQ = "Q\ yy";
147    sub _format_for_yyQ { return $_format_for_yyQ }
148}
149
150{
151    my $_available_formats =
152        {
153          "yyQ" => "Q\ yy"
154        };
155    sub _available_formats { return $_available_formats }
156}
157
1581;
159
160__END__
161
162
163=pod
164
165=encoding utf8
166
167=head1 NAME
168
169DateTime::Locale::tn
170
171=head1 SYNOPSIS
172
173  use DateTime;
174
175  my $dt = DateTime->now( locale => 'tn' );
176  print $dt->month_name();
177
178=head1 DESCRIPTION
179
180This is the DateTime locale package for Tswana.
181
182=head1 DATA
183
184This locale inherits from the L<DateTime::Locale::root> locale.
185
186It contains the following data.
187
188=head2 Days
189
190=head3 Wide (format)
191
192  Mosopulogo
193  Labobedi
194  Laboraro
195  Labone
196  Labotlhano
197  Matlhatso
198  Tshipi
199
200=head3 Abbreviated (format)
201
202  Mos
203  Bed
204  Rar
205  Ne
206  Tla
207  Mat
208  Tsh
209
210=head3 Narrow (format)
211
212  2
213  3
214  4
215  5
216  6
217  7
218  1
219
220=head3 Wide (stand-alone)
221
222  Mosopulogo
223  Labobedi
224  Laboraro
225  Labone
226  Labotlhano
227  Matlhatso
228  Tshipi
229
230=head3 Abbreviated (stand-alone)
231
232  Mos
233  Bed
234  Rar
235  Ne
236  Tla
237  Mat
238  Tsh
239
240=head3 Narrow (stand-alone)
241
242  2
243  3
244  4
245  5
246  6
247  7
248  1
249
250=head2 Months
251
252=head3 Wide (format)
253
254  Ferikgong
255  Tlhakole
256  Mopitlo
257  Moranang
258  Motsheganang
259  Seetebosigo
260  Phukwi
261  Phatwe
262  Lwetse
263  Diphalane
264  Ngwanatsele
265  Sedimonthole
266
267=head3 Abbreviated (format)
268
269  Fer
270  Tlh
271  Mop
272  Mor
273  Mot
274  See
275  Phu
276  Pha
277  Lwe
278  Dip
279  Ngw
280  Sed
281
282=head3 Narrow (format)
283
284  1
285  2
286  3
287  4
288  5
289  6
290  7
291  8
292  9
293  10
294  11
295  12
296
297=head3 Wide (stand-alone)
298
299  Ferikgong
300  Tlhakole
301  Mopitlo
302  Moranang
303  Motsheganang
304  Seetebosigo
305  Phukwi
306  Phatwe
307  Lwetse
308  Diphalane
309  Ngwanatsele
310  Sedimonthole
311
312=head3 Abbreviated (stand-alone)
313
314  Fer
315  Tlh
316  Mop
317  Mor
318  Mot
319  See
320  Phu
321  Pha
322  Lwe
323  Dip
324  Ngw
325  Sed
326
327=head3 Narrow (stand-alone)
328
329  1
330  2
331  3
332  4
333  5
334  6
335  7
336  8
337  9
338  10
339  11
340  12
341
342=head2 Quarters
343
344=head3 Wide (format)
345
346  Q1
347  Q2
348  Q3
349  Q4
350
351=head3 Abbreviated (format)
352
353  Q1
354  Q2
355  Q3
356  Q4
357
358=head3 Narrow (format)
359
360  1
361  2
362  3
363  4
364
365=head3 Wide (stand-alone)
366
367  Q1
368  Q2
369  Q3
370  Q4
371
372=head3 Abbreviated (stand-alone)
373
374  Q1
375  Q2
376  Q3
377  Q4
378
379=head3 Narrow (stand-alone)
380
381  1
382  2
383  3
384  4
385
386=head2 Eras
387
388=head3 Wide
389
390  BC
391  AD
392
393=head3 Abbreviated
394
395  BC
396  AD
397
398=head3 Narrow
399
400  BC
401  AD
402
403=head2 Date Formats
404
405=head3 Full
406
407   2008-02-05T18:30:30 = Labobedi, 2008 Tlhakole 05
408   1995-12-22T09:05:02 = Labotlhano, 1995 Sedimonthole 22
409  -0010-09-15T04:44:23 = Matlhatso, -10 Lwetse 15
410
411=head3 Long
412
413   2008-02-05T18:30:30 = 2008 Tlhakole 5
414   1995-12-22T09:05:02 = 1995 Sedimonthole 22
415  -0010-09-15T04:44:23 = -10 Lwetse 15
416
417=head3 Medium
418
419   2008-02-05T18:30:30 = 2008 Tlh 5
420   1995-12-22T09:05:02 = 1995 Sed 22
421  -0010-09-15T04:44:23 = -10 Lwe 15
422
423=head3 Short
424
425   2008-02-05T18:30:30 = 08/02/05
426   1995-12-22T09:05:02 = 95/12/22
427  -0010-09-15T04:44:23 = -10/09/15
428
429=head3 Default
430
431   2008-02-05T18:30:30 = 2008 Tlh 5
432   1995-12-22T09:05:02 = 1995 Sed 22
433  -0010-09-15T04:44:23 = -10 Lwe 15
434
435=head2 Time Formats
436
437=head3 Full
438
439   2008-02-05T18:30:30 = 18:30:30 UTC
440   1995-12-22T09:05:02 = 09:05:02 UTC
441  -0010-09-15T04:44:23 = 04:44:23 UTC
442
443=head3 Long
444
445   2008-02-05T18:30:30 = 18:30:30 UTC
446   1995-12-22T09:05:02 = 09:05:02 UTC
447  -0010-09-15T04:44:23 = 04:44:23 UTC
448
449=head3 Medium
450
451   2008-02-05T18:30:30 = 18:30:30
452   1995-12-22T09:05:02 = 09:05:02
453  -0010-09-15T04:44:23 = 04:44:23
454
455=head3 Short
456
457   2008-02-05T18:30:30 = 18:30
458   1995-12-22T09:05:02 = 09:05
459  -0010-09-15T04:44:23 = 04:44
460
461=head3 Default
462
463   2008-02-05T18:30:30 = 18:30:30
464   1995-12-22T09:05:02 = 09:05:02
465  -0010-09-15T04:44:23 = 04:44:23
466
467=head2 Datetime Formats
468
469=head3 Full
470
471   2008-02-05T18:30:30 = Labobedi, 2008 Tlhakole 05 18:30:30 UTC
472   1995-12-22T09:05:02 = Labotlhano, 1995 Sedimonthole 22 09:05:02 UTC
473  -0010-09-15T04:44:23 = Matlhatso, -10 Lwetse 15 04:44:23 UTC
474
475=head3 Long
476
477   2008-02-05T18:30:30 = 2008 Tlhakole 5 18:30:30 UTC
478   1995-12-22T09:05:02 = 1995 Sedimonthole 22 09:05:02 UTC
479  -0010-09-15T04:44:23 = -10 Lwetse 15 04:44:23 UTC
480
481=head3 Medium
482
483   2008-02-05T18:30:30 = 2008 Tlh 5 18:30:30
484   1995-12-22T09:05:02 = 1995 Sed 22 09:05:02
485  -0010-09-15T04:44:23 = -10 Lwe 15 04:44:23
486
487=head3 Short
488
489   2008-02-05T18:30:30 = 08/02/05 18:30
490   1995-12-22T09:05:02 = 95/12/22 09:05
491  -0010-09-15T04:44:23 = -10/09/15 04:44
492
493=head3 Default
494
495   2008-02-05T18:30:30 = 2008 Tlh 5 18:30:30
496   1995-12-22T09:05:02 = 1995 Sed 22 09:05:02
497  -0010-09-15T04:44:23 = -10 Lwe 15 04:44:23
498
499=head2 Available Formats
500
501=head3 d (d)
502
503   2008-02-05T18:30:30 = 5
504   1995-12-22T09:05:02 = 22
505  -0010-09-15T04:44:23 = 15
506
507=head3 EEEd (d EEE)
508
509   2008-02-05T18:30:30 = 5 Bed
510   1995-12-22T09:05:02 = 22 Tla
511  -0010-09-15T04:44:23 = 15 Mat
512
513=head3 Hm (H:mm)
514
515   2008-02-05T18:30:30 = 18:30
516   1995-12-22T09:05:02 = 9:05
517  -0010-09-15T04:44:23 = 4:44
518
519=head3 hm (h:mm a)
520
521   2008-02-05T18:30:30 = 6:30 PM
522   1995-12-22T09:05:02 = 9:05 AM
523  -0010-09-15T04:44:23 = 4:44 AM
524
525=head3 Hms (H:mm:ss)
526
527   2008-02-05T18:30:30 = 18:30:30
528   1995-12-22T09:05:02 = 9:05:02
529  -0010-09-15T04:44:23 = 4:44:23
530
531=head3 hms (h:mm:ss a)
532
533   2008-02-05T18:30:30 = 6:30:30 PM
534   1995-12-22T09:05:02 = 9:05:02 AM
535  -0010-09-15T04:44:23 = 4:44:23 AM
536
537=head3 M (L)
538
539   2008-02-05T18:30:30 = 2
540   1995-12-22T09:05:02 = 12
541  -0010-09-15T04:44:23 = 9
542
543=head3 Md (M-d)
544
545   2008-02-05T18:30:30 = 2-5
546   1995-12-22T09:05:02 = 12-22
547  -0010-09-15T04:44:23 = 9-15
548
549=head3 MEd (E, M-d)
550
551   2008-02-05T18:30:30 = Bed, 2-5
552   1995-12-22T09:05:02 = Tla, 12-22
553  -0010-09-15T04:44:23 = Mat, 9-15
554
555=head3 MMM (LLL)
556
557   2008-02-05T18:30:30 = Tlh
558   1995-12-22T09:05:02 = Sed
559  -0010-09-15T04:44:23 = Lwe
560
561=head3 MMMd (MMM d)
562
563   2008-02-05T18:30:30 = Tlh 5
564   1995-12-22T09:05:02 = Sed 22
565  -0010-09-15T04:44:23 = Lwe 15
566
567=head3 MMMEd (E MMM d)
568
569   2008-02-05T18:30:30 = Bed Tlh 5
570   1995-12-22T09:05:02 = Tla Sed 22
571  -0010-09-15T04:44:23 = Mat Lwe 15
572
573=head3 MMMMd (MMMM d)
574
575   2008-02-05T18:30:30 = Tlhakole 5
576   1995-12-22T09:05:02 = Sedimonthole 22
577  -0010-09-15T04:44:23 = Lwetse 15
578
579=head3 MMMMEd (E MMMM d)
580
581   2008-02-05T18:30:30 = Bed Tlhakole 5
582   1995-12-22T09:05:02 = Tla Sedimonthole 22
583  -0010-09-15T04:44:23 = Mat Lwetse 15
584
585=head3 ms (mm:ss)
586
587   2008-02-05T18:30:30 = 30:30
588   1995-12-22T09:05:02 = 05:02
589  -0010-09-15T04:44:23 = 44:23
590
591=head3 y (y)
592
593   2008-02-05T18:30:30 = 2008
594   1995-12-22T09:05:02 = 1995
595  -0010-09-15T04:44:23 = -10
596
597=head3 yM (y-M)
598
599   2008-02-05T18:30:30 = 2008-2
600   1995-12-22T09:05:02 = 1995-12
601  -0010-09-15T04:44:23 = -10-9
602
603=head3 yMEd (EEE, y-M-d)
604
605   2008-02-05T18:30:30 = Bed, 2008-2-5
606   1995-12-22T09:05:02 = Tla, 1995-12-22
607  -0010-09-15T04:44:23 = Mat, -10-9-15
608
609=head3 yMMM (y MMM)
610
611   2008-02-05T18:30:30 = 2008 Tlh
612   1995-12-22T09:05:02 = 1995 Sed
613  -0010-09-15T04:44:23 = -10 Lwe
614
615=head3 yMMMEd (EEE, y MMM d)
616
617   2008-02-05T18:30:30 = Bed, 2008 Tlh 5
618   1995-12-22T09:05:02 = Tla, 1995 Sed 22
619  -0010-09-15T04:44:23 = Mat, -10 Lwe 15
620
621=head3 yMMMM (y MMMM)
622
623   2008-02-05T18:30:30 = 2008 Tlhakole
624   1995-12-22T09:05:02 = 1995 Sedimonthole
625  -0010-09-15T04:44:23 = -10 Lwetse
626
627=head3 yQ (y Q)
628
629   2008-02-05T18:30:30 = 2008 1
630   1995-12-22T09:05:02 = 1995 4
631  -0010-09-15T04:44:23 = -10 3
632
633=head3 yQQQ (y QQQ)
634
635   2008-02-05T18:30:30 = 2008 Q1
636   1995-12-22T09:05:02 = 1995 Q4
637  -0010-09-15T04:44:23 = -10 Q3
638
639=head3 yyQ (Q yy)
640
641   2008-02-05T18:30:30 = 1 08
642   1995-12-22T09:05:02 = 4 95
643  -0010-09-15T04:44:23 = 3 -10
644
645=head2 Miscellaneous
646
647=head3 Prefers 24 hour time?
648
649Yes
650
651=head3 Local first day of the week
652
653Mosopulogo
654
655
656=head1 SUPPORT
657
658See L<DateTime::Locale>.
659
660=head1 AUTHOR
661
662Dave Rolsky <autarch@urth.org>
663
664=head1 COPYRIGHT
665
666Copyright (c) 2008 David Rolsky. All rights reserved. This program is
667free software; you can redistribute it and/or modify it under the same
668terms as Perl itself.
669
670This module was generated from data provided by the CLDR project, see
671the LICENSE.cldr in this distribution for details on the CLDR data's
672license.
673
674=cut
675