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_GB.xml
12 # The source file version number was 1.65, generated on
13 # 2009/06/15 03:46:25.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::en_GB;
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\ MMM\ y";
41 sub date_format_medium { return $date_format_medium }
45 my $date_format_short = "dd\/MM\/yyyy";
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 $time_format_full = "HH\:mm\:ss\ zzzz";
56 sub time_format_full { return $time_format_full }
60 my $time_format_long = "HH\:mm\:ss\ z";
61 sub time_format_long { return $time_format_long }
65 my $time_format_medium = "HH\:mm\:ss";
66 sub time_format_medium { return $time_format_medium }
70 my $time_format_short = "HH\:mm";
71 sub time_format_short { return $time_format_short }
75 my $_format_for_MEd = "E\,\ d\/M";
76 sub _format_for_MEd { return $_format_for_MEd }
80 my $_format_for_MMMEd = "E\ d\ MMM";
81 sub _format_for_MMMEd { return $_format_for_MMMEd }
85 my $_format_for_MMMMd = "d\ MMMM";
86 sub _format_for_MMMMd { return $_format_for_MMMMd }
90 my $_format_for_MMdd = "dd\/MM";
91 sub _format_for_MMdd { return $_format_for_MMdd }
95 my $_format_for_Md = "d\/M";
96 sub _format_for_Md { return $_format_for_Md }
100 my $_format_for_yMEd = "EEE\,\ d\/M\/yyyy";
101 sub _format_for_yMEd { return $_format_for_yMEd }
105 my $_format_for_yyMMM = "MMM\ yy";
106 sub _format_for_yyMMM { return $_format_for_yyMMM }
110 my $_format_for_yyyyMM = "MM\/yyyy";
111 sub _format_for_yyyyMM { return $_format_for_yyyyMM }
115 my $_format_for_yyyyMMMM = "MMMM\ y";
116 sub _format_for_yyyyMMMM { return $_format_for_yyyyMMMM }
120 my $_available_formats =
122 "MEd" => "E\,\ d\/M",
123 "MMMEd" => "E\ d\ MMM",
124 "MMMMd" => "d\ MMMM",
127 "yMEd" => "EEE\,\ d\/M\/yyyy",
128 "yyMMM" => "MMM\ yy",
129 "yyyyMM" => "MM\/yyyy",
130 "yyyyMMMM" => "MMMM\ y"
132 sub _available_formats { return $_available_formats }
146 DateTime::Locale::en_GB
152 my $dt = DateTime->now( locale => 'en_GB' );
153 print $dt->month_name();
157 This is the DateTime locale package for English United Kingdom.
161 This locale inherits from the L<DateTime::Locale::en> locale.
163 It contains the following data.
177 =head3 Abbreviated (format)
187 =head3 Narrow (format)
197 =head3 Wide (stand-alone)
207 =head3 Abbreviated (stand-alone)
217 =head3 Narrow (stand-alone)
244 =head3 Abbreviated (format)
259 =head3 Narrow (format)
274 =head3 Wide (stand-alone)
289 =head3 Abbreviated (stand-alone)
304 =head3 Narrow (stand-alone)
328 =head3 Abbreviated (format)
335 =head3 Narrow (format)
342 =head3 Wide (stand-alone)
349 =head3 Abbreviated (stand-alone)
356 =head3 Narrow (stand-alone)
384 2008-02-05T18:30:30 = Tuesday, 5 February 2008
385 1995-12-22T09:05:02 = Friday, 22 December 1995
386 -0010-09-15T04:44:23 = Saturday, 15 September -10
390 2008-02-05T18:30:30 = 5 February 2008
391 1995-12-22T09:05:02 = 22 December 1995
392 -0010-09-15T04:44:23 = 15 September -10
396 2008-02-05T18:30:30 = 5 Feb 2008
397 1995-12-22T09:05:02 = 22 Dec 1995
398 -0010-09-15T04:44:23 = 15 Sep -10
402 2008-02-05T18:30:30 = 05/02/2008
403 1995-12-22T09:05:02 = 22/12/1995
404 -0010-09-15T04:44:23 = 15/09/-010
408 2008-02-05T18:30:30 = 5 Feb 2008
409 1995-12-22T09:05:02 = 22 Dec 1995
410 -0010-09-15T04:44:23 = 15 Sep -10
416 2008-02-05T18:30:30 = 18:30:30 UTC
417 1995-12-22T09:05:02 = 09:05:02 UTC
418 -0010-09-15T04:44:23 = 04:44:23 UTC
422 2008-02-05T18:30:30 = 18:30:30 UTC
423 1995-12-22T09:05:02 = 09:05:02 UTC
424 -0010-09-15T04:44:23 = 04:44:23 UTC
428 2008-02-05T18:30:30 = 18:30:30
429 1995-12-22T09:05:02 = 09:05:02
430 -0010-09-15T04:44:23 = 04:44:23
434 2008-02-05T18:30:30 = 18:30
435 1995-12-22T09:05:02 = 09:05
436 -0010-09-15T04:44:23 = 04:44
440 2008-02-05T18:30:30 = 18:30:30
441 1995-12-22T09:05:02 = 09:05:02
442 -0010-09-15T04:44:23 = 04:44:23
444 =head2 Datetime Formats
448 2008-02-05T18:30:30 = Tuesday, 5 February 2008 18:30:30 UTC
449 1995-12-22T09:05:02 = Friday, 22 December 1995 09:05:02 UTC
450 -0010-09-15T04:44:23 = Saturday, 15 September -10 04:44:23 UTC
454 2008-02-05T18:30:30 = 5 February 2008 18:30:30 UTC
455 1995-12-22T09:05:02 = 22 December 1995 09:05:02 UTC
456 -0010-09-15T04:44:23 = 15 September -10 04:44:23 UTC
460 2008-02-05T18:30:30 = 5 Feb 2008 18:30:30
461 1995-12-22T09:05:02 = 22 Dec 1995 09:05:02
462 -0010-09-15T04:44:23 = 15 Sep -10 04:44:23
466 2008-02-05T18:30:30 = 05/02/2008 18:30
467 1995-12-22T09:05:02 = 22/12/1995 09:05
468 -0010-09-15T04:44:23 = 15/09/-010 04:44
472 2008-02-05T18:30:30 = 5 Feb 2008 18:30:30
473 1995-12-22T09:05:02 = 22 Dec 1995 09:05:02
474 -0010-09-15T04:44:23 = 15 Sep -10 04:44:23
476 =head2 Available Formats
480 2008-02-05T18:30:30 = 5 Tue
481 1995-12-22T09:05:02 = 22 Fri
482 -0010-09-15T04:44:23 = 15 Sat
486 2008-02-05T18:30:30 = 18:30
487 1995-12-22T09:05:02 = 9:05
488 -0010-09-15T04:44:23 = 4:44
492 2008-02-05T18:30:30 = 18:30:30
493 1995-12-22T09:05:02 = 9:05:02
494 -0010-09-15T04:44:23 = 4:44:23
498 2008-02-05T18:30:30 = 2
499 1995-12-22T09:05:02 = 12
500 -0010-09-15T04:44:23 = 9
504 2008-02-05T18:30:30 = Tue, 5/2
505 1995-12-22T09:05:02 = Fri, 22/12
506 -0010-09-15T04:44:23 = Sat, 15/9
510 2008-02-05T18:30:30 = Feb
511 1995-12-22T09:05:02 = Dec
512 -0010-09-15T04:44:23 = Sep
514 =head3 MMMEd (E d MMM)
516 2008-02-05T18:30:30 = Tue 5 Feb
517 1995-12-22T09:05:02 = Fri 22 Dec
518 -0010-09-15T04:44:23 = Sat 15 Sep
520 =head3 MMMMEd (E, MMMM d)
522 2008-02-05T18:30:30 = Tue, February 5
523 1995-12-22T09:05:02 = Fri, December 22
524 -0010-09-15T04:44:23 = Sat, September 15
526 =head3 MMMMd (d MMMM)
528 2008-02-05T18:30:30 = 5 February
529 1995-12-22T09:05:02 = 22 December
530 -0010-09-15T04:44:23 = 15 September
534 2008-02-05T18:30:30 = Feb 5
535 1995-12-22T09:05:02 = Dec 22
536 -0010-09-15T04:44:23 = Sep 15
540 2008-02-05T18:30:30 = 05/02
541 1995-12-22T09:05:02 = 22/12
542 -0010-09-15T04:44:23 = 15/09
546 2008-02-05T18:30:30 = 5/2
547 1995-12-22T09:05:02 = 22/12
548 -0010-09-15T04:44:23 = 15/9
552 2008-02-05T18:30:30 = 5
553 1995-12-22T09:05:02 = 22
554 -0010-09-15T04:44:23 = 15
558 2008-02-05T18:30:30 = 6:30 PM
559 1995-12-22T09:05:02 = 9:05 AM
560 -0010-09-15T04:44:23 = 4:44 AM
562 =head3 hms (h:mm:ss a)
564 2008-02-05T18:30:30 = 6:30:30 PM
565 1995-12-22T09:05:02 = 9:05:02 AM
566 -0010-09-15T04:44:23 = 4:44:23 AM
570 2008-02-05T18:30:30 = 30:30
571 1995-12-22T09:05:02 = 05:02
572 -0010-09-15T04:44:23 = 44:23
576 2008-02-05T18:30:30 = 2008
577 1995-12-22T09:05:02 = 1995
578 -0010-09-15T04:44:23 = -10
582 2008-02-05T18:30:30 = 2/2008
583 1995-12-22T09:05:02 = 12/1995
584 -0010-09-15T04:44:23 = 9/-010
586 =head3 yMEd (EEE, d/M/yyyy)
588 2008-02-05T18:30:30 = Tue, 5/2/2008
589 1995-12-22T09:05:02 = Fri, 22/12/1995
590 -0010-09-15T04:44:23 = Sat, 15/9/-010
594 2008-02-05T18:30:30 = Feb 2008
595 1995-12-22T09:05:02 = Dec 1995
596 -0010-09-15T04:44:23 = Sep -10
598 =head3 yMMMEd (EEE, MMM d, y)
600 2008-02-05T18:30:30 = Tue, Feb 5, 2008
601 1995-12-22T09:05:02 = Fri, Dec 22, 1995
602 -0010-09-15T04:44:23 = Sat, Sep 15, -10
604 =head3 yMMMM (MMMM y)
606 2008-02-05T18:30:30 = February 2008
607 1995-12-22T09:05:02 = December 1995
608 -0010-09-15T04:44:23 = September -10
612 2008-02-05T18:30:30 = 1 2008
613 1995-12-22T09:05:02 = 4 1995
614 -0010-09-15T04:44:23 = 3 -010
618 2008-02-05T18:30:30 = Q1 2008
619 1995-12-22T09:05:02 = Q4 1995
620 -0010-09-15T04:44:23 = Q3 -10
622 =head3 yyMMM (MMM yy)
624 2008-02-05T18:30:30 = Feb 08
625 1995-12-22T09:05:02 = Dec 95
626 -0010-09-15T04:44:23 = Sep 10
628 =head3 yyyyMM (MM/yyyy)
630 2008-02-05T18:30:30 = 02/2008
631 1995-12-22T09:05:02 = 12/1995
632 -0010-09-15T04:44:23 = 09/-010
634 =head3 yyyyMMMM (MMMM y)
636 2008-02-05T18:30:30 = February 2008
637 1995-12-22T09:05:02 = December 1995
638 -0010-09-15T04:44:23 = September -10
642 =head3 Prefers 24 hour time?
646 =head3 Local first day of the week
653 See L<DateTime::Locale>.
657 Dave Rolsky <autarch@urth.org>
661 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
662 free software; you can redistribute it and/or modify it under the same
663 terms as Perl itself.
665 This module was generated from data provided by the CLDR project, see
666 the LICENSE.cldr in this distribution for details on the CLDR data's