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 oc.xml
12 # The source file version number was 1.3, generated on
13 # 2009/05/05 23:06:38.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::oc;
25 use base 'DateTime::Locale::root';
27 sub cldr_version { return "1\.7\.1" }
30 sub day_format_abbreviated { $_[0]->day_format_wide() }
33 my $day_format_wide = [ "diluns", "dimarç", "dimècres", "dijòus", "divèndres", "dissabte", "Dimenge" ];
34 sub day_format_wide { return $day_format_wide }
37 sub day_stand_alone_wide { $_[0]->day_format_wide() }
40 my $first_day_of_week = "1";
41 sub first_day_of_week { return $first_day_of_week }
45 sub month_format_abbreviated { $_[0]->month_format_wide() }
48 my $month_format_wide = [ "genièr", "febrièr", "març", "abril", "mai", "junh", "julhet", "agost", "setembre", "octòbre", "novembre", "dezembre" ];
49 sub month_format_wide { return $month_format_wide }
52 sub month_stand_alone_wide { $_[0]->month_format_wide() }
71 my $dt = DateTime->now( locale => 'oc' );
72 print $dt->month_name();
76 This is the DateTime locale package for Occitan.
80 This locale inherits from the L<DateTime::Locale::root> locale.
82 It contains the following data.
96 =head3 Abbreviated (format)
106 =head3 Narrow (format)
116 =head3 Wide (stand-alone)
126 =head3 Abbreviated (stand-alone)
136 =head3 Narrow (stand-alone)
163 =head3 Abbreviated (format)
178 =head3 Narrow (format)
193 =head3 Wide (stand-alone)
208 =head3 Abbreviated (stand-alone)
223 =head3 Narrow (stand-alone)
247 =head3 Abbreviated (format)
254 =head3 Narrow (format)
261 =head3 Wide (stand-alone)
268 =head3 Abbreviated (stand-alone)
275 =head3 Narrow (stand-alone)
303 2008-02-05T18:30:30 = dimarç, 2008 febrièr 05
304 1995-12-22T09:05:02 = divèndres, 1995 dezembre 22
305 -0010-09-15T04:44:23 = dissabte, -10 setembre 15
309 2008-02-05T18:30:30 = 2008 febrièr 5
310 1995-12-22T09:05:02 = 1995 dezembre 22
311 -0010-09-15T04:44:23 = -10 setembre 15
315 2008-02-05T18:30:30 = 2008 febrièr 5
316 1995-12-22T09:05:02 = 1995 dezembre 22
317 -0010-09-15T04:44:23 = -10 setembre 15
321 2008-02-05T18:30:30 = 2008-02-05
322 1995-12-22T09:05:02 = 1995-12-22
323 -0010-09-15T04:44:23 = -010-09-15
327 2008-02-05T18:30:30 = 2008 febrièr 5
328 1995-12-22T09:05:02 = 1995 dezembre 22
329 -0010-09-15T04:44:23 = -10 setembre 15
335 2008-02-05T18:30:30 = 18:30:30 UTC
336 1995-12-22T09:05:02 = 09:05:02 UTC
337 -0010-09-15T04:44:23 = 04:44:23 UTC
341 2008-02-05T18:30:30 = 18:30:30 UTC
342 1995-12-22T09:05:02 = 09:05:02 UTC
343 -0010-09-15T04:44:23 = 04:44:23 UTC
347 2008-02-05T18:30:30 = 18:30:30
348 1995-12-22T09:05:02 = 09:05:02
349 -0010-09-15T04:44:23 = 04:44:23
353 2008-02-05T18:30:30 = 18:30
354 1995-12-22T09:05:02 = 09:05
355 -0010-09-15T04:44:23 = 04:44
359 2008-02-05T18:30:30 = 18:30:30
360 1995-12-22T09:05:02 = 09:05:02
361 -0010-09-15T04:44:23 = 04:44:23
363 =head2 Datetime Formats
367 2008-02-05T18:30:30 = dimarç, 2008 febrièr 05 18:30:30 UTC
368 1995-12-22T09:05:02 = divèndres, 1995 dezembre 22 09:05:02 UTC
369 -0010-09-15T04:44:23 = dissabte, -10 setembre 15 04:44:23 UTC
373 2008-02-05T18:30:30 = 2008 febrièr 5 18:30:30 UTC
374 1995-12-22T09:05:02 = 1995 dezembre 22 09:05:02 UTC
375 -0010-09-15T04:44:23 = -10 setembre 15 04:44:23 UTC
379 2008-02-05T18:30:30 = 2008 febrièr 5 18:30:30
380 1995-12-22T09:05:02 = 1995 dezembre 22 09:05:02
381 -0010-09-15T04:44:23 = -10 setembre 15 04:44:23
385 2008-02-05T18:30:30 = 2008-02-05 18:30
386 1995-12-22T09:05:02 = 1995-12-22 09:05
387 -0010-09-15T04:44:23 = -010-09-15 04:44
391 2008-02-05T18:30:30 = 2008 febrièr 5 18:30:30
392 1995-12-22T09:05:02 = 1995 dezembre 22 09:05:02
393 -0010-09-15T04:44:23 = -10 setembre 15 04:44:23
395 =head2 Available Formats
399 2008-02-05T18:30:30 = 5 dimarç
400 1995-12-22T09:05:02 = 22 divèndres
401 -0010-09-15T04:44:23 = 15 dissabte
405 2008-02-05T18:30:30 = 18:30
406 1995-12-22T09:05:02 = 9:05
407 -0010-09-15T04:44:23 = 4:44
411 2008-02-05T18:30:30 = 18:30:30
412 1995-12-22T09:05:02 = 9:05:02
413 -0010-09-15T04:44:23 = 4:44:23
417 2008-02-05T18:30:30 = 2
418 1995-12-22T09:05:02 = 12
419 -0010-09-15T04:44:23 = 9
423 2008-02-05T18:30:30 = dimarç, 2-5
424 1995-12-22T09:05:02 = divèndres, 12-22
425 -0010-09-15T04:44:23 = dissabte, 9-15
429 2008-02-05T18:30:30 = 2
430 1995-12-22T09:05:02 = 12
431 -0010-09-15T04:44:23 = 9
433 =head3 MMMEd (E MMM d)
435 2008-02-05T18:30:30 = dimarç febrièr 5
436 1995-12-22T09:05:02 = divèndres dezembre 22
437 -0010-09-15T04:44:23 = dissabte setembre 15
439 =head3 MMMMEd (E MMMM d)
441 2008-02-05T18:30:30 = dimarç febrièr 5
442 1995-12-22T09:05:02 = divèndres dezembre 22
443 -0010-09-15T04:44:23 = dissabte setembre 15
445 =head3 MMMMd (MMMM d)
447 2008-02-05T18:30:30 = febrièr 5
448 1995-12-22T09:05:02 = dezembre 22
449 -0010-09-15T04:44:23 = setembre 15
453 2008-02-05T18:30:30 = febrièr 5
454 1995-12-22T09:05:02 = dezembre 22
455 -0010-09-15T04:44:23 = setembre 15
459 2008-02-05T18:30:30 = 2-5
460 1995-12-22T09:05:02 = 12-22
461 -0010-09-15T04:44:23 = 9-15
465 2008-02-05T18:30:30 = 5
466 1995-12-22T09:05:02 = 22
467 -0010-09-15T04:44:23 = 15
471 2008-02-05T18:30:30 = 6:30 PM
472 1995-12-22T09:05:02 = 9:05 AM
473 -0010-09-15T04:44:23 = 4:44 AM
475 =head3 hms (h:mm:ss a)
477 2008-02-05T18:30:30 = 6:30:30 PM
478 1995-12-22T09:05:02 = 9:05:02 AM
479 -0010-09-15T04:44:23 = 4:44:23 AM
483 2008-02-05T18:30:30 = 30:30
484 1995-12-22T09:05:02 = 05:02
485 -0010-09-15T04:44:23 = 44:23
489 2008-02-05T18:30:30 = 2008
490 1995-12-22T09:05:02 = 1995
491 -0010-09-15T04:44:23 = -10
495 2008-02-05T18:30:30 = 2008-2
496 1995-12-22T09:05:02 = 1995-12
497 -0010-09-15T04:44:23 = -10-9
499 =head3 yMEd (EEE, y-M-d)
501 2008-02-05T18:30:30 = dimarç, 2008-2-5
502 1995-12-22T09:05:02 = divèndres, 1995-12-22
503 -0010-09-15T04:44:23 = dissabte, -10-9-15
507 2008-02-05T18:30:30 = 2008 febrièr
508 1995-12-22T09:05:02 = 1995 dezembre
509 -0010-09-15T04:44:23 = -10 setembre
511 =head3 yMMMEd (EEE, y MMM d)
513 2008-02-05T18:30:30 = dimarç, 2008 febrièr 5
514 1995-12-22T09:05:02 = divèndres, 1995 dezembre 22
515 -0010-09-15T04:44:23 = dissabte, -10 setembre 15
517 =head3 yMMMM (y MMMM)
519 2008-02-05T18:30:30 = 2008 febrièr
520 1995-12-22T09:05:02 = 1995 dezembre
521 -0010-09-15T04:44:23 = -10 setembre
525 2008-02-05T18:30:30 = 2008 1
526 1995-12-22T09:05:02 = 1995 4
527 -0010-09-15T04:44:23 = -10 3
531 2008-02-05T18:30:30 = 2008 Q1
532 1995-12-22T09:05:02 = 1995 Q4
533 -0010-09-15T04:44:23 = -10 Q3
537 =head3 Prefers 24 hour time?
541 =head3 Local first day of the week
548 See L<DateTime::Locale>.
552 Dave Rolsky <autarch@urth.org>
556 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
557 free software; you can redistribute it and/or modify it under the same
558 terms as Perl itself.
560 This module was generated from data provided by the CLDR project, see
561 the LICENSE.cldr in this distribution for details on the CLDR data's