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 en_NZ.xml
12 # The source file version number was 1.61, generated on
13 # 2009/06/15 03:46:25.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::en_NZ;
25 use base 'DateTime::Locale::en';
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 = "d\/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 = "7";
51 sub first_day_of_week { return $first_day_of_week }
55 my $_format_for_MMMMd = "d\ MMMM";
56 sub _format_for_MMMMd { return $_format_for_MMMMd }
60 my $_format_for_Md = "d\/M";
61 sub _format_for_Md { return $_format_for_Md }
65 my $_format_for_yyyyMM = "MM\/yyyy";
66 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
70 my $_format_for_yyyyMMMM = "MMMM\ y";
71 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
75 my $_available_formats =
79 "yyyyMM" => "MM\/yyyy",
80 "yyyyMMMM" => "MMMM\ y"
82 sub _available_formats { return $_available_formats }
96 DateTime::Locale::en_NZ
102 my $dt = DateTime->now( locale => 'en_NZ' );
103 print $dt->month_name();
107 This is the DateTime locale package for English New Zealand.
111 This locale inherits from the L<DateTime::Locale::en> locale.
113 It contains the following data.
127 =head3 Abbreviated (format)
137 =head3 Narrow (format)
147 =head3 Wide (stand-alone)
157 =head3 Abbreviated (stand-alone)
167 =head3 Narrow (stand-alone)
194 =head3 Abbreviated (format)
209 =head3 Narrow (format)
224 =head3 Wide (stand-alone)
239 =head3 Abbreviated (stand-alone)
254 =head3 Narrow (stand-alone)
278 =head3 Abbreviated (format)
285 =head3 Narrow (format)
292 =head3 Wide (stand-alone)
299 =head3 Abbreviated (stand-alone)
306 =head3 Narrow (stand-alone)
334 2008-02-05T18:30:30 = Tuesday, 5 February 2008
335 1995-12-22T09:05:02 = Friday, 22 December 1995
336 -0010-09-15T04:44:23 = Saturday, 15 September -10
340 2008-02-05T18:30:30 = 5 February 2008
341 1995-12-22T09:05:02 = 22 December 1995
342 -0010-09-15T04:44:23 = 15 September -10
346 2008-02-05T18:30:30 = 5/02/2008
347 1995-12-22T09:05:02 = 22/12/1995
348 -0010-09-15T04:44:23 = 15/09/-010
352 2008-02-05T18:30:30 = 5/02/08
353 1995-12-22T09:05:02 = 22/12/95
354 -0010-09-15T04:44:23 = 15/09/10
358 2008-02-05T18:30:30 = 5/02/2008
359 1995-12-22T09:05:02 = 22/12/1995
360 -0010-09-15T04:44:23 = 15/09/-010
366 2008-02-05T18:30:30 = 6:30:30 PM UTC
367 1995-12-22T09:05:02 = 9:05:02 AM UTC
368 -0010-09-15T04:44:23 = 4:44:23 AM UTC
372 2008-02-05T18:30:30 = 6:30:30 PM UTC
373 1995-12-22T09:05:02 = 9:05:02 AM UTC
374 -0010-09-15T04:44:23 = 4:44:23 AM UTC
378 2008-02-05T18:30:30 = 6:30:30 PM
379 1995-12-22T09:05:02 = 9:05:02 AM
380 -0010-09-15T04:44:23 = 4:44:23 AM
384 2008-02-05T18:30:30 = 6:30 PM
385 1995-12-22T09:05:02 = 9:05 AM
386 -0010-09-15T04:44:23 = 4:44 AM
390 2008-02-05T18:30:30 = 6:30:30 PM
391 1995-12-22T09:05:02 = 9:05:02 AM
392 -0010-09-15T04:44:23 = 4:44:23 AM
394 =head2 Datetime Formats
398 2008-02-05T18:30:30 = Tuesday, 5 February 2008 6:30:30 PM UTC
399 1995-12-22T09:05:02 = Friday, 22 December 1995 9:05:02 AM UTC
400 -0010-09-15T04:44:23 = Saturday, 15 September -10 4:44:23 AM UTC
404 2008-02-05T18:30:30 = 5 February 2008 6:30:30 PM UTC
405 1995-12-22T09:05:02 = 22 December 1995 9:05:02 AM UTC
406 -0010-09-15T04:44:23 = 15 September -10 4:44:23 AM UTC
410 2008-02-05T18:30:30 = 5/02/2008 6:30:30 PM
411 1995-12-22T09:05:02 = 22/12/1995 9:05:02 AM
412 -0010-09-15T04:44:23 = 15/09/-010 4:44:23 AM
416 2008-02-05T18:30:30 = 5/02/08 6:30 PM
417 1995-12-22T09:05:02 = 22/12/95 9:05 AM
418 -0010-09-15T04:44:23 = 15/09/10 4:44 AM
422 2008-02-05T18:30:30 = 5/02/2008 6:30:30 PM
423 1995-12-22T09:05:02 = 22/12/1995 9:05:02 AM
424 -0010-09-15T04:44:23 = 15/09/-010 4:44:23 AM
426 =head2 Available Formats
430 2008-02-05T18:30:30 = 5 Tue
431 1995-12-22T09:05:02 = 22 Fri
432 -0010-09-15T04:44:23 = 15 Sat
436 2008-02-05T18:30:30 = 18:30
437 1995-12-22T09:05:02 = 9:05
438 -0010-09-15T04:44:23 = 4:44
442 2008-02-05T18:30:30 = 18:30:30
443 1995-12-22T09:05:02 = 9:05:02
444 -0010-09-15T04:44:23 = 4:44:23
448 2008-02-05T18:30:30 = 2
449 1995-12-22T09:05:02 = 12
450 -0010-09-15T04:44:23 = 9
454 2008-02-05T18:30:30 = Tue, 2/5
455 1995-12-22T09:05:02 = Fri, 12/22
456 -0010-09-15T04:44:23 = Sat, 9/15
460 2008-02-05T18:30:30 = Feb
461 1995-12-22T09:05:02 = Dec
462 -0010-09-15T04:44:23 = Sep
464 =head3 MMMEd (E, MMM d)
466 2008-02-05T18:30:30 = Tue, Feb 5
467 1995-12-22T09:05:02 = Fri, Dec 22
468 -0010-09-15T04:44:23 = Sat, Sep 15
470 =head3 MMMMEd (E, MMMM d)
472 2008-02-05T18:30:30 = Tue, February 5
473 1995-12-22T09:05:02 = Fri, December 22
474 -0010-09-15T04:44:23 = Sat, September 15
476 =head3 MMMMd (d MMMM)
478 2008-02-05T18:30:30 = 5 February
479 1995-12-22T09:05:02 = 22 December
480 -0010-09-15T04:44:23 = 15 September
484 2008-02-05T18:30:30 = Feb 5
485 1995-12-22T09:05:02 = Dec 22
486 -0010-09-15T04:44:23 = Sep 15
490 2008-02-05T18:30:30 = 5/2
491 1995-12-22T09:05:02 = 22/12
492 -0010-09-15T04:44:23 = 15/9
496 2008-02-05T18:30:30 = 5
497 1995-12-22T09:05:02 = 22
498 -0010-09-15T04:44:23 = 15
502 2008-02-05T18:30:30 = 6:30 PM
503 1995-12-22T09:05:02 = 9:05 AM
504 -0010-09-15T04:44:23 = 4:44 AM
506 =head3 hms (h:mm:ss a)
508 2008-02-05T18:30:30 = 6:30:30 PM
509 1995-12-22T09:05:02 = 9:05:02 AM
510 -0010-09-15T04:44:23 = 4:44:23 AM
514 2008-02-05T18:30:30 = 30:30
515 1995-12-22T09:05:02 = 05:02
516 -0010-09-15T04:44:23 = 44:23
520 2008-02-05T18:30:30 = 2008
521 1995-12-22T09:05:02 = 1995
522 -0010-09-15T04:44:23 = -10
526 2008-02-05T18:30:30 = 2/2008
527 1995-12-22T09:05:02 = 12/1995
528 -0010-09-15T04:44:23 = 9/-010
530 =head3 yMEd (EEE, M/d/yyyy)
532 2008-02-05T18:30:30 = Tue, 2/5/2008
533 1995-12-22T09:05:02 = Fri, 12/22/1995
534 -0010-09-15T04:44:23 = Sat, 9/15/-010
538 2008-02-05T18:30:30 = Feb 2008
539 1995-12-22T09:05:02 = Dec 1995
540 -0010-09-15T04:44:23 = Sep -10
542 =head3 yMMMEd (EEE, MMM d, y)
544 2008-02-05T18:30:30 = Tue, Feb 5, 2008
545 1995-12-22T09:05:02 = Fri, Dec 22, 1995
546 -0010-09-15T04:44:23 = Sat, Sep 15, -10
548 =head3 yMMMM (MMMM y)
550 2008-02-05T18:30:30 = February 2008
551 1995-12-22T09:05:02 = December 1995
552 -0010-09-15T04:44:23 = September -10
556 2008-02-05T18:30:30 = 1 2008
557 1995-12-22T09:05:02 = 4 1995
558 -0010-09-15T04:44:23 = 3 -010
562 2008-02-05T18:30:30 = Q1 2008
563 1995-12-22T09:05:02 = Q4 1995
564 -0010-09-15T04:44:23 = Q3 -10
566 =head3 yyyyMM (MM/yyyy)
568 2008-02-05T18:30:30 = 02/2008
569 1995-12-22T09:05:02 = 12/1995
570 -0010-09-15T04:44:23 = 09/-010
572 =head3 yyyyMMMM (MMMM y)
574 2008-02-05T18:30:30 = February 2008
575 1995-12-22T09:05:02 = December 1995
576 -0010-09-15T04:44:23 = September -10
580 =head3 Prefers 24 hour time?
584 =head3 Local first day of the week
591 See L<DateTime::Locale>.
595 Dave Rolsky <autarch@urth.org>
599 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
600 free software; you can redistribute it and/or modify it under the same
601 terms as Perl itself.
603 This module was generated from data provided by the CLDR project, see
604 the LICENSE.cldr in this distribution for details on the CLDR data's