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 xh.xml
12 # The source file version number was 1.30, generated on
13 # 2009/05/05 23:06:41.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::xh;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 my $day_format_abbreviated = [ "Mvu", "Bin", "Tha", "Sin", "Hla", "Mgq", "Caw" ];
31 sub day_format_abbreviated { return $day_format_abbreviated }
34 sub day_format_narrow { $_[0]->day_format_abbreviated() }
37 my $day_format_wide = [ "Mvulo", "Lwesibini", "Lwesithathu", "Lwesine", "Lwesihlanu", "Mgqibelo", "Cawe" ];
38 sub day_format_wide { return $day_format_wide }
41 sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
44 sub day_stand_alone_wide { $_[0]->day_format_wide() }
47 my $era_abbreviated = [ "BC", "AD" ];
48 sub era_abbreviated { return $era_abbreviated }
51 sub era_narrow { $_[0]->era_abbreviated() }
54 my $era_wide = [ "BC", "umnyaka\ wokuzalwa\ kukaYesu" ];
55 sub era_wide { return $era_wide }
58 my $first_day_of_week = "1";
59 sub first_day_of_week { return $first_day_of_week }
63 my $month_format_abbreviated = [ "Jan", "Feb", "Mat", "Epr", "Mey", "Jun", "Jul", "Aga", "Sep", "Okt", "Nov", "Dis" ];
64 sub month_format_abbreviated { return $month_format_abbreviated }
67 sub month_format_narrow { $_[0]->month_format_abbreviated() }
70 my $month_format_wide = [ "Janyuwari", "Februwari", "Matshi", "Epreli", "Meyi", "Juni", "Julayi", "Agasti", "Septemba", "Okthoba", "Novemba", "Disemba" ];
71 sub month_format_wide { return $month_format_wide }
74 sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
77 sub month_stand_alone_wide { $_[0]->month_format_wide() }
80 my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
81 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
84 my $quarter_format_wide = [ "1\ unyangantathu", "2\ unyangantathu", "3\ unyangantathu", "4\ unyangantathu" ];
85 sub quarter_format_wide { return $quarter_format_wide }
88 sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
91 sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
110 my $dt = DateTime->now( locale => 'xh' );
111 print $dt->month_name();
115 This is the DateTime locale package for Xhosa.
119 This locale inherits from the L<DateTime::Locale::root> locale.
121 It contains the following data.
135 =head3 Abbreviated (format)
145 =head3 Narrow (format)
155 =head3 Wide (stand-alone)
165 =head3 Abbreviated (stand-alone)
175 =head3 Narrow (stand-alone)
202 =head3 Abbreviated (format)
217 =head3 Narrow (format)
232 =head3 Wide (stand-alone)
247 =head3 Abbreviated (stand-alone)
262 =head3 Narrow (stand-alone)
286 =head3 Abbreviated (format)
293 =head3 Narrow (format)
300 =head3 Wide (stand-alone)
307 =head3 Abbreviated (stand-alone)
314 =head3 Narrow (stand-alone)
326 umnyaka wokuzalwa kukaYesu
342 2008-02-05T18:30:30 = Lwesibini, 2008 Februwari 05
343 1995-12-22T09:05:02 = Lwesihlanu, 1995 Disemba 22
344 -0010-09-15T04:44:23 = Mgqibelo, -10 Septemba 15
348 2008-02-05T18:30:30 = 2008 Februwari 5
349 1995-12-22T09:05:02 = 1995 Disemba 22
350 -0010-09-15T04:44:23 = -10 Septemba 15
354 2008-02-05T18:30:30 = 2008 Feb 5
355 1995-12-22T09:05:02 = 1995 Dis 22
356 -0010-09-15T04:44:23 = -10 Sep 15
360 2008-02-05T18:30:30 = 2008-02-05
361 1995-12-22T09:05:02 = 1995-12-22
362 -0010-09-15T04:44:23 = -010-09-15
366 2008-02-05T18:30:30 = 2008 Feb 5
367 1995-12-22T09:05:02 = 1995 Dis 22
368 -0010-09-15T04:44:23 = -10 Sep 15
374 2008-02-05T18:30:30 = 18:30:30 UTC
375 1995-12-22T09:05:02 = 09:05:02 UTC
376 -0010-09-15T04:44:23 = 04:44:23 UTC
380 2008-02-05T18:30:30 = 18:30:30 UTC
381 1995-12-22T09:05:02 = 09:05:02 UTC
382 -0010-09-15T04:44:23 = 04:44:23 UTC
386 2008-02-05T18:30:30 = 18:30:30
387 1995-12-22T09:05:02 = 09:05:02
388 -0010-09-15T04:44:23 = 04:44:23
392 2008-02-05T18:30:30 = 18:30
393 1995-12-22T09:05:02 = 09:05
394 -0010-09-15T04:44:23 = 04:44
398 2008-02-05T18:30:30 = 18:30:30
399 1995-12-22T09:05:02 = 09:05:02
400 -0010-09-15T04:44:23 = 04:44:23
402 =head2 Datetime Formats
406 2008-02-05T18:30:30 = Lwesibini, 2008 Februwari 05 18:30:30 UTC
407 1995-12-22T09:05:02 = Lwesihlanu, 1995 Disemba 22 09:05:02 UTC
408 -0010-09-15T04:44:23 = Mgqibelo, -10 Septemba 15 04:44:23 UTC
412 2008-02-05T18:30:30 = 2008 Februwari 5 18:30:30 UTC
413 1995-12-22T09:05:02 = 1995 Disemba 22 09:05:02 UTC
414 -0010-09-15T04:44:23 = -10 Septemba 15 04:44:23 UTC
418 2008-02-05T18:30:30 = 2008 Feb 5 18:30:30
419 1995-12-22T09:05:02 = 1995 Dis 22 09:05:02
420 -0010-09-15T04:44:23 = -10 Sep 15 04:44:23
424 2008-02-05T18:30:30 = 2008-02-05 18:30
425 1995-12-22T09:05:02 = 1995-12-22 09:05
426 -0010-09-15T04:44:23 = -010-09-15 04:44
430 2008-02-05T18:30:30 = 2008 Feb 5 18:30:30
431 1995-12-22T09:05:02 = 1995 Dis 22 09:05:02
432 -0010-09-15T04:44:23 = -10 Sep 15 04:44:23
434 =head2 Available Formats
438 2008-02-05T18:30:30 = 5 Bin
439 1995-12-22T09:05:02 = 22 Hla
440 -0010-09-15T04:44:23 = 15 Mgq
444 2008-02-05T18:30:30 = 18:30
445 1995-12-22T09:05:02 = 9:05
446 -0010-09-15T04:44:23 = 4:44
450 2008-02-05T18:30:30 = 18:30:30
451 1995-12-22T09:05:02 = 9:05:02
452 -0010-09-15T04:44:23 = 4:44:23
456 2008-02-05T18:30:30 = 2
457 1995-12-22T09:05:02 = 12
458 -0010-09-15T04:44:23 = 9
462 2008-02-05T18:30:30 = Bin, 2-5
463 1995-12-22T09:05:02 = Hla, 12-22
464 -0010-09-15T04:44:23 = Mgq, 9-15
468 2008-02-05T18:30:30 = Feb
469 1995-12-22T09:05:02 = Dis
470 -0010-09-15T04:44:23 = Sep
472 =head3 MMMEd (E MMM d)
474 2008-02-05T18:30:30 = Bin Feb 5
475 1995-12-22T09:05:02 = Hla Dis 22
476 -0010-09-15T04:44:23 = Mgq Sep 15
478 =head3 MMMMEd (E MMMM d)
480 2008-02-05T18:30:30 = Bin Februwari 5
481 1995-12-22T09:05:02 = Hla Disemba 22
482 -0010-09-15T04:44:23 = Mgq Septemba 15
484 =head3 MMMMd (MMMM d)
486 2008-02-05T18:30:30 = Februwari 5
487 1995-12-22T09:05:02 = Disemba 22
488 -0010-09-15T04:44:23 = Septemba 15
492 2008-02-05T18:30:30 = Feb 5
493 1995-12-22T09:05:02 = Dis 22
494 -0010-09-15T04:44:23 = Sep 15
498 2008-02-05T18:30:30 = 2-5
499 1995-12-22T09:05:02 = 12-22
500 -0010-09-15T04:44:23 = 9-15
504 2008-02-05T18:30:30 = 5
505 1995-12-22T09:05:02 = 22
506 -0010-09-15T04:44:23 = 15
510 2008-02-05T18:30:30 = 6:30 PM
511 1995-12-22T09:05:02 = 9:05 AM
512 -0010-09-15T04:44:23 = 4:44 AM
514 =head3 hms (h:mm:ss a)
516 2008-02-05T18:30:30 = 6:30:30 PM
517 1995-12-22T09:05:02 = 9:05:02 AM
518 -0010-09-15T04:44:23 = 4:44:23 AM
522 2008-02-05T18:30:30 = 30:30
523 1995-12-22T09:05:02 = 05:02
524 -0010-09-15T04:44:23 = 44:23
528 2008-02-05T18:30:30 = 2008
529 1995-12-22T09:05:02 = 1995
530 -0010-09-15T04:44:23 = -10
534 2008-02-05T18:30:30 = 2008-2
535 1995-12-22T09:05:02 = 1995-12
536 -0010-09-15T04:44:23 = -10-9
538 =head3 yMEd (EEE, y-M-d)
540 2008-02-05T18:30:30 = Bin, 2008-2-5
541 1995-12-22T09:05:02 = Hla, 1995-12-22
542 -0010-09-15T04:44:23 = Mgq, -10-9-15
546 2008-02-05T18:30:30 = 2008 Feb
547 1995-12-22T09:05:02 = 1995 Dis
548 -0010-09-15T04:44:23 = -10 Sep
550 =head3 yMMMEd (EEE, y MMM d)
552 2008-02-05T18:30:30 = Bin, 2008 Feb 5
553 1995-12-22T09:05:02 = Hla, 1995 Dis 22
554 -0010-09-15T04:44:23 = Mgq, -10 Sep 15
556 =head3 yMMMM (y MMMM)
558 2008-02-05T18:30:30 = 2008 Februwari
559 1995-12-22T09:05:02 = 1995 Disemba
560 -0010-09-15T04:44:23 = -10 Septemba
564 2008-02-05T18:30:30 = 2008 1
565 1995-12-22T09:05:02 = 1995 4
566 -0010-09-15T04:44:23 = -10 3
570 2008-02-05T18:30:30 = 2008 Q1
571 1995-12-22T09:05:02 = 1995 Q4
572 -0010-09-15T04:44:23 = -10 Q3
576 =head3 Prefers 24 hour time?
580 =head3 Local first day of the week
587 See L<DateTime::Locale>.
591 Dave Rolsky <autarch@urth.org>
595 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
596 free software; you can redistribute it and/or modify it under the same
597 terms as Perl itself.
599 This module was generated from data provided by the CLDR project, see
600 the LICENSE.cldr in this distribution for details on the CLDR data's