← Index
NYTProf Performance Profile   « block view • line view • sub view »
For 05.Domain_and_Item.t
  Run on Tue May 4 17:21:41 2010
Reported on Tue May 4 17:22:56 2010

File /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/en.pm
Statements Executed 160
Statement Execution Time 1.46ms
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
101118µs18µsDateTime::Locale::en::::am_pm_abbreviatedDateTime::Locale::en::am_pm_abbreviated
102114µs14µsDateTime::Locale::en::::time_format_mediumDateTime::Locale::en::time_format_medium
11114µs16µsDateTime::Locale::en::::BEGIN@21DateTime::Locale::en::BEGIN@21
102113µs13µsDateTime::Locale::en::::date_format_mediumDateTime::Locale::en::date_format_medium
51112µs12µsDateTime::Locale::en::::datetime_formatDateTime::Locale::en::datetime_format
51110µs10µsDateTime::Locale::en::::day_format_wideDateTime::Locale::en::day_format_wide
5119µs9µsDateTime::Locale::en::::month_format_abbreviatedDateTime::Locale::en::month_format_abbreviated
5118µs8µsDateTime::Locale::en::::day_format_abbreviatedDateTime::Locale::en::day_format_abbreviated
5118µs8µsDateTime::Locale::en::::month_format_wideDateTime::Locale::en::month_format_wide
1117µs16µsDateTime::Locale::en::::BEGIN@22DateTime::Locale::en::BEGIN@22
1116µs1.84msDateTime::Locale::en::::BEGIN@25DateTime::Locale::en::BEGIN@25
1116µs8µsDateTime::Locale::en::::BEGIN@23DateTime::Locale::en::BEGIN@23
0000s0sDateTime::Locale::en::::_available_formatsDateTime::Locale::en::_available_formats
0000s0sDateTime::Locale::en::::_format_for_EEEdDateTime::Locale::en::_format_for_EEEd
0000s0sDateTime::Locale::en::::_format_for_HmDateTime::Locale::en::_format_for_Hm
0000s0sDateTime::Locale::en::::_format_for_HmsDateTime::Locale::en::_format_for_Hms
0000s0sDateTime::Locale::en::::_format_for_MDateTime::Locale::en::_format_for_M
0000s0sDateTime::Locale::en::::_format_for_MEdDateTime::Locale::en::_format_for_MEd
0000s0sDateTime::Locale::en::::_format_for_MMMDateTime::Locale::en::_format_for_MMM
0000s0sDateTime::Locale::en::::_format_for_MMMEdDateTime::Locale::en::_format_for_MMMEd
0000s0sDateTime::Locale::en::::_format_for_MMMMEdDateTime::Locale::en::_format_for_MMMMEd
0000s0sDateTime::Locale::en::::_format_for_MMMMdDateTime::Locale::en::_format_for_MMMMd
0000s0sDateTime::Locale::en::::_format_for_MMMdDateTime::Locale::en::_format_for_MMMd
0000s0sDateTime::Locale::en::::_format_for_MdDateTime::Locale::en::_format_for_Md
0000s0sDateTime::Locale::en::::_format_for_dDateTime::Locale::en::_format_for_d
0000s0sDateTime::Locale::en::::_format_for_hmDateTime::Locale::en::_format_for_hm
0000s0sDateTime::Locale::en::::_format_for_msDateTime::Locale::en::_format_for_ms
0000s0sDateTime::Locale::en::::_format_for_yDateTime::Locale::en::_format_for_y
0000s0sDateTime::Locale::en::::_format_for_yMDateTime::Locale::en::_format_for_yM
0000s0sDateTime::Locale::en::::_format_for_yMEdDateTime::Locale::en::_format_for_yMEd
0000s0sDateTime::Locale::en::::_format_for_yMMMDateTime::Locale::en::_format_for_yMMM
0000s0sDateTime::Locale::en::::_format_for_yMMMEdDateTime::Locale::en::_format_for_yMMMEd
0000s0sDateTime::Locale::en::::_format_for_yMMMMDateTime::Locale::en::_format_for_yMMMM
0000s0sDateTime::Locale::en::::_format_for_yQDateTime::Locale::en::_format_for_yQ
0000s0sDateTime::Locale::en::::_format_for_yQQQDateTime::Locale::en::_format_for_yQQQ
0000s0sDateTime::Locale::en::::cldr_versionDateTime::Locale::en::cldr_version
0000s0sDateTime::Locale::en::::date_format_fullDateTime::Locale::en::date_format_full
0000s0sDateTime::Locale::en::::date_format_longDateTime::Locale::en::date_format_long
0000s0sDateTime::Locale::en::::date_format_shortDateTime::Locale::en::date_format_short
0000s0sDateTime::Locale::en::::day_format_narrowDateTime::Locale::en::day_format_narrow
0000s0sDateTime::Locale::en::::day_stand_alone_abbreviatedDateTime::Locale::en::day_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::day_stand_alone_narrowDateTime::Locale::en::day_stand_alone_narrow
0000s0sDateTime::Locale::en::::day_stand_alone_wideDateTime::Locale::en::day_stand_alone_wide
0000s0sDateTime::Locale::en::::era_abbreviatedDateTime::Locale::en::era_abbreviated
0000s0sDateTime::Locale::en::::era_narrowDateTime::Locale::en::era_narrow
0000s0sDateTime::Locale::en::::era_wideDateTime::Locale::en::era_wide
0000s0sDateTime::Locale::en::::first_day_of_weekDateTime::Locale::en::first_day_of_week
0000s0sDateTime::Locale::en::::month_format_narrowDateTime::Locale::en::month_format_narrow
0000s0sDateTime::Locale::en::::month_stand_alone_abbreviatedDateTime::Locale::en::month_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::month_stand_alone_narrowDateTime::Locale::en::month_stand_alone_narrow
0000s0sDateTime::Locale::en::::month_stand_alone_wideDateTime::Locale::en::month_stand_alone_wide
0000s0sDateTime::Locale::en::::quarter_format_abbreviatedDateTime::Locale::en::quarter_format_abbreviated
0000s0sDateTime::Locale::en::::quarter_format_narrowDateTime::Locale::en::quarter_format_narrow
0000s0sDateTime::Locale::en::::quarter_format_wideDateTime::Locale::en::quarter_format_wide
0000s0sDateTime::Locale::en::::quarter_stand_alone_abbreviatedDateTime::Locale::en::quarter_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::quarter_stand_alone_narrowDateTime::Locale::en::quarter_stand_alone_narrow
0000s0sDateTime::Locale::en::::quarter_stand_alone_wideDateTime::Locale::en::quarter_stand_alone_wide
0000s0sDateTime::Locale::en::::time_format_fullDateTime::Locale::en::time_format_full
0000s0sDateTime::Locale::en::::time_format_longDateTime::Locale::en::time_format_long
0000s0sDateTime::Locale::en::::time_format_shortDateTime::Locale::en::time_format_short
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
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 en.xml
12# The source file version number was 1.234, generated on
13# 2009/06/17 16:15:14.
14#
15# Do not edit this file directly.
16#
17###########################################################################
18
19package DateTime::Locale::en;
20
21321µs219µs
# spent 16µs (14+3) within DateTime::Locale::en::BEGIN@21 which was called # once (14µs+3µs) by base::import at line 21
use strict;
# spent 16µs making 1 call to DateTime::Locale::en::BEGIN@21 # spent 3µs making 1 call to strict::import
22319µs224µs
# spent 16µs (7+9) within DateTime::Locale::en::BEGIN@22 which was called # once (7µs+9µs) by base::import at line 22
use warnings;
# spent 16µs making 1 call to DateTime::Locale::en::BEGIN@22 # spent 9µs making 1 call to warnings::import
23319µs210µs
# spent 8µs (6+2) within DateTime::Locale::en::BEGIN@23 which was called # once (6µs+2µs) by base::import at line 23
use utf8;
# spent 8µs making 1 call to DateTime::Locale::en::BEGIN@23 # spent 2µs making 1 call to utf8::import
24
2531.15ms21.84ms
# spent 1.84ms (6µs+1.83) within DateTime::Locale::en::BEGIN@25 which was called # once (6µs+1.83ms) by base::import at line 25
use base 'DateTime::Locale::root';
# spent 1.84ms making 1 call to DateTime::Locale::en::BEGIN@25 # spent 1.83ms making 1 call to base::import, recursion: max depth 1, time 1.83ms
26
27sub cldr_version { return "1\.7\.1" }
28
29{
3022µs my $am_pm_abbreviated = [ "AM", "PM" ];
311029µs
# spent 18µs within DateTime::Locale::en::am_pm_abbreviated which was called 10 times, avg 2µs/call: # 10 times (18µs+0s) by DateTime::Locale::Base::am_pms at line 205 of DateTime/Locale/Base.pm, avg 2µs/call
sub am_pm_abbreviated { return $am_pm_abbreviated }
32}
33{
342400ns my $date_format_full = "EEEE\,\ MMMM\ d\,\ y";
35 sub date_format_full { return $date_format_full }
36}
37
38{
392200ns my $date_format_long = "MMMM\ d\,\ y";
40 sub date_format_long { return $date_format_long }
41}
42
43{
442200ns my $date_format_medium = "MMM\ d\,\ y";
451024µs
# spent 13µs within DateTime::Locale::en::date_format_medium which was called 10 times, avg 1µs/call: # 5 times (9µs+0s) by DateTime::Locale::Base::date_format_default at line 52 of DateTime/Locale/Base.pm, avg 2µs/call # 5 times (5µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 161 of DateTime/Locale/Base.pm, avg 920ns/call
sub date_format_medium { return $date_format_medium }
46}
47
48{
492300ns my $date_format_short = "M\/d\/yy";
50 sub date_format_short { return $date_format_short }
51}
52
53{
542200ns my $datetime_format = "\{1\}\ \{0\}";
55517µs
# spent 12µs within DateTime::Locale::en::datetime_format which was called 5 times, avg 2µs/call: # 5 times (12µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 158 of DateTime/Locale/Base.pm, avg 2µs/call
sub datetime_format { return $datetime_format }
56}
57
58{
5921µs my $day_format_abbreviated = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ];
60513µs
# spent 8µs within DateTime::Locale::en::day_format_abbreviated which was called 5 times, avg 2µs/call: # 5 times (8µs+0s) by DateTime::Locale::Base::day_abbreviations at line 194 of DateTime/Locale/Base.pm, avg 2µs/call
sub day_format_abbreviated { return $day_format_abbreviated }
61}
62
63sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
64
65{
6621µs my $day_format_wide = [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ];
67515µs
# spent 10µs within DateTime::Locale::en::day_format_wide which was called 5 times, avg 2µs/call: # 5 times (10µs+0s) by DateTime::Locale::Base::day_names at line 193 of DateTime/Locale/Base.pm, avg 2µs/call
sub day_format_wide { return $day_format_wide }
68}
69
70sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
71
72{
7321µs my $day_stand_alone_narrow = [ "M", "T", "W", "T", "F", "S", "S" ];
74 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
75}
76
77sub day_stand_alone_wide { $_[0]->day_format_wide() }
78
79{
802500ns my $era_abbreviated = [ "BC", "AD" ];
81 sub era_abbreviated { return $era_abbreviated }
82}
83{
842500ns my $era_narrow = [ "B", "A" ];
85 sub era_narrow { return $era_narrow }
86}
87{
882500ns my $era_wide = [ "Before\ Christ", "Anno\ Domini" ];
89 sub era_wide { return $era_wide }
90}
91{
922200ns my $first_day_of_week = "1";
93 sub first_day_of_week { return $first_day_of_week }
94}
95
96{
9722µs my $month_format_abbreviated = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
98513µs
# spent 9µs within DateTime::Locale::en::month_format_abbreviated which was called 5 times, avg 2µs/call: # 5 times (9µs+0s) by DateTime::Locale::Base::month_abbreviations at line 186 of DateTime/Locale/Base.pm, avg 2µs/call
sub month_format_abbreviated { return $month_format_abbreviated }
99}
100
101sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
102
103{
10422µs my $month_format_wide = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
105514µs
# spent 8µs within DateTime::Locale::en::month_format_wide which was called 5 times, avg 2µs/call: # 5 times (8µs+0s) by DateTime::Locale::Base::month_names at line 185 of DateTime/Locale/Base.pm, avg 2µs/call
sub month_format_wide { return $month_format_wide }
106}
107
108sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
109
110{
11122µs my $month_stand_alone_narrow = [ "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D" ];
112 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
113}
114
115sub month_stand_alone_wide { $_[0]->month_format_wide() }
116
117{
1182700ns my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
119 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
120}
121
122sub quarter_format_narrow { $_[0]->quarter_stand_alone_narrow() }
123
124{
1252800ns my $quarter_format_wide = [ "1st\ quarter", "2nd\ quarter", "3rd\ quarter", "4th\ quarter" ];
126 sub quarter_format_wide { return $quarter_format_wide }
127}
128
129sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
130
131{
1322800ns my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
133 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
134}
135
136sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
137
138{
1392300ns my $time_format_full = "h\:mm\:ss\ a\ zzzz";
140 sub time_format_full { return $time_format_full }
141}
142
143{
1442300ns my $time_format_long = "h\:mm\:ss\ a\ z";
145 sub time_format_long { return $time_format_long }
146}
147
148{
14921µs my $time_format_medium = "h\:mm\:ss\ a";
1501026µs
# spent 14µs within DateTime::Locale::en::time_format_medium which was called 10 times, avg 1µs/call: # 5 times (9µs+0s) by DateTime::Locale::Base::time_format_default at line 65 of DateTime/Locale/Base.pm, avg 2µs/call # 5 times (5µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 160 of DateTime/Locale/Base.pm, avg 940ns/call
sub time_format_medium { return $time_format_medium }
151}
152
153{
1542200ns my $time_format_short = "h\:mm\ a";
155 sub time_format_short { return $time_format_short }
156}
157
158{
1592200ns my $_format_for_EEEd = "d\ EEE";
160 sub _format_for_EEEd { return $_format_for_EEEd }
161}
162
163{
1642200ns my $_format_for_Hm = "H\:mm";
165 sub _format_for_Hm { return $_format_for_Hm }
166}
167
168{
1692200ns my $_format_for_Hms = "H\:mm\:ss";
170 sub _format_for_Hms { return $_format_for_Hms }
171}
172
173{
1742200ns my $_format_for_M = "L";
175 sub _format_for_M { return $_format_for_M }
176}
177
178{
1792200ns my $_format_for_MEd = "E\,\ M\/d";
180 sub _format_for_MEd { return $_format_for_MEd }
181}
182
183{
1842200ns my $_format_for_MMM = "LLL";
185 sub _format_for_MMM { return $_format_for_MMM }
186}
187
188{
1892200ns my $_format_for_MMMEd = "E\,\ MMM\ d";
190 sub _format_for_MMMEd { return $_format_for_MMMEd }
191}
192
193{
1942200ns my $_format_for_MMMMEd = "E\,\ MMMM\ d";
195 sub _format_for_MMMMEd { return $_format_for_MMMMEd }
196}
197
198{
1992200ns my $_format_for_MMMMd = "MMMM\ d";
200 sub _format_for_MMMMd { return $_format_for_MMMMd }
201}
202
203{
2042200ns my $_format_for_MMMd = "MMM\ d";
205 sub _format_for_MMMd { return $_format_for_MMMd }
206}
207
208{
2092200ns my $_format_for_Md = "M\/d";
210 sub _format_for_Md { return $_format_for_Md }
211}
212
213{
2142200ns my $_format_for_d = "d";
215 sub _format_for_d { return $_format_for_d }
216}
217
218{
2192200ns my $_format_for_hm = "h\:mm\ a";
220 sub _format_for_hm { return $_format_for_hm }
221}
222
223{
2242200ns my $_format_for_ms = "mm\:ss";
225 sub _format_for_ms { return $_format_for_ms }
226}
227
228{
2292200ns my $_format_for_y = "y";
230 sub _format_for_y { return $_format_for_y }
231}
232
233{
2342200ns my $_format_for_yM = "M\/yyyy";
235 sub _format_for_yM { return $_format_for_yM }
236}
237
238{
2392200ns my $_format_for_yMEd = "EEE\,\ M\/d\/yyyy";
240 sub _format_for_yMEd { return $_format_for_yMEd }
241}
242
243{
2442200ns my $_format_for_yMMM = "MMM\ y";
245 sub _format_for_yMMM { return $_format_for_yMMM }
246}
247
248{
2492200ns my $_format_for_yMMMEd = "EEE\,\ MMM\ d\,\ y";
250 sub _format_for_yMMMEd { return $_format_for_yMMMEd }
251}
252
253{
2542200ns my $_format_for_yMMMM = "MMMM\ y";
255 sub _format_for_yMMMM { return $_format_for_yMMMM }
256}
257
258{
2592200ns my $_format_for_yQ = "Q\ yyyy";
260 sub _format_for_yQ { return $_format_for_yQ }
261}
262
263{
2642200ns my $_format_for_yQQQ = "QQQ\ y";
265 sub _format_for_yQQQ { return $_format_for_yQQQ }
266}
267
268{
26927µs my $_available_formats =
270 {
271 "EEEd" => "d\ EEE",
272 "Hm" => "H\:mm",
273 "Hms" => "H\:mm\:ss",
274 "M" => "L",
275 "MEd" => "E\,\ M\/d",
276 "MMM" => "LLL",
277 "MMMEd" => "E\,\ MMM\ d",
278 "MMMMEd" => "E\,\ MMMM\ d",
279 "MMMMd" => "MMMM\ d",
280 "MMMd" => "MMM\ d",
281 "Md" => "M\/d",
282 "d" => "d",
283 "hm" => "h\:mm\ a",
284 "ms" => "mm\:ss",
285 "y" => "y",
286 "yM" => "M\/yyyy",
287 "yMEd" => "EEE\,\ M\/d\/yyyy",
288 "yMMM" => "MMM\ y",
289 "yMMMEd" => "EEE\,\ MMM\ d\,\ y",
290 "yMMMM" => "MMMM\ y",
291 "yQ" => "Q\ yyyy",
292 "yQQQ" => "QQQ\ y"
293 };
294 sub _available_formats { return $_available_formats }
295}
296
297168µs1;
298
299__END__
300
301
302=pod
303
304=encoding utf8
305
306=head1 NAME
307
308DateTime::Locale::en
309
310=head1 SYNOPSIS
311
312 use DateTime;
313
314 my $dt = DateTime->now( locale => 'en' );
315 print $dt->month_name();
316
317=head1 DESCRIPTION
318
319This is the DateTime locale package for English.
320
321=head1 DATA
322
323This locale inherits from the L<DateTime::Locale::root> locale.
324
325It contains the following data.
326
327=head2 Days
328
329=head3 Wide (format)
330
331 Monday
332 Tuesday
333 Wednesday
334 Thursday
335 Friday
336 Saturday
337 Sunday
338
339=head3 Abbreviated (format)
340
341 Mon
342 Tue
343 Wed
344 Thu
345 Fri
346 Sat
347 Sun
348
349=head3 Narrow (format)
350
351 M
352 T
353 W
354 T
355 F
356 S
357 S
358
359=head3 Wide (stand-alone)
360
361 Monday
362 Tuesday
363 Wednesday
364 Thursday
365 Friday
366 Saturday
367 Sunday
368
369=head3 Abbreviated (stand-alone)
370
371 Mon
372 Tue
373 Wed
374 Thu
375 Fri
376 Sat
377 Sun
378
379=head3 Narrow (stand-alone)
380
381 M
382 T
383 W
384 T
385 F
386 S
387 S
388
389=head2 Months
390
391=head3 Wide (format)
392
393 January
394 February
395 March
396 April
397 May
398 June
399 July
400 August
401 September
402 October
403 November
404 December
405
406=head3 Abbreviated (format)
407
408 Jan
409 Feb
410 Mar
411 Apr
412 May
413 Jun
414 Jul
415 Aug
416 Sep
417 Oct
418 Nov
419 Dec
420
421=head3 Narrow (format)
422
423 J
424 F
425 M
426 A
427 M
428 J
429 J
430 A
431 S
432 O
433 N
434 D
435
436=head3 Wide (stand-alone)
437
438 January
439 February
440 March
441 April
442 May
443 June
444 July
445 August
446 September
447 October
448 November
449 December
450
451=head3 Abbreviated (stand-alone)
452
453 Jan
454 Feb
455 Mar
456 Apr
457 May
458 Jun
459 Jul
460 Aug
461 Sep
462 Oct
463 Nov
464 Dec
465
466=head3 Narrow (stand-alone)
467
468 J
469 F
470 M
471 A
472 M
473 J
474 J
475 A
476 S
477 O
478 N
479 D
480
481=head2 Quarters
482
483=head3 Wide (format)
484
485 1st quarter
486 2nd quarter
487 3rd quarter
488 4th quarter
489
490=head3 Abbreviated (format)
491
492 Q1
493 Q2
494 Q3
495 Q4
496
497=head3 Narrow (format)
498
499 1
500 2
501 3
502 4
503
504=head3 Wide (stand-alone)
505
506 1st quarter
507 2nd quarter
508 3rd quarter
509 4th quarter
510
511=head3 Abbreviated (stand-alone)
512
513 Q1
514 Q2
515 Q3
516 Q4
517
518=head3 Narrow (stand-alone)
519
520 1
521 2
522 3
523 4
524
525=head2 Eras
526
527=head3 Wide
528
529 Before Christ
530 Anno Domini
531
532=head3 Abbreviated
533
534 BC
535 AD
536
537=head3 Narrow
538
539 B
540 A
541
542=head2 Date Formats
543
544=head3 Full
545
546 2008-02-05T18:30:30 = Tuesday, February 5, 2008
547 1995-12-22T09:05:02 = Friday, December 22, 1995
548 -0010-09-15T04:44:23 = Saturday, September 15, -10
549
550=head3 Long
551
552 2008-02-05T18:30:30 = February 5, 2008
553 1995-12-22T09:05:02 = December 22, 1995
554 -0010-09-15T04:44:23 = September 15, -10
555
556=head3 Medium
557
558 2008-02-05T18:30:30 = Feb 5, 2008
559 1995-12-22T09:05:02 = Dec 22, 1995
560 -0010-09-15T04:44:23 = Sep 15, -10
561
562=head3 Short
563
564 2008-02-05T18:30:30 = 2/5/08
565 1995-12-22T09:05:02 = 12/22/95
566 -0010-09-15T04:44:23 = 9/15/10
567
568=head3 Default
569
570 2008-02-05T18:30:30 = Feb 5, 2008
571 1995-12-22T09:05:02 = Dec 22, 1995
572 -0010-09-15T04:44:23 = Sep 15, -10
573
574=head2 Time Formats
575
576=head3 Full
577
578 2008-02-05T18:30:30 = 6:30:30 PM UTC
579 1995-12-22T09:05:02 = 9:05:02 AM UTC
580 -0010-09-15T04:44:23 = 4:44:23 AM UTC
581
582=head3 Long
583
584 2008-02-05T18:30:30 = 6:30:30 PM UTC
585 1995-12-22T09:05:02 = 9:05:02 AM UTC
586 -0010-09-15T04:44:23 = 4:44:23 AM UTC
587
588=head3 Medium
589
590 2008-02-05T18:30:30 = 6:30:30 PM
591 1995-12-22T09:05:02 = 9:05:02 AM
592 -0010-09-15T04:44:23 = 4:44:23 AM
593
594=head3 Short
595
596 2008-02-05T18:30:30 = 6:30 PM
597 1995-12-22T09:05:02 = 9:05 AM
598 -0010-09-15T04:44:23 = 4:44 AM
599
600=head3 Default
601
602 2008-02-05T18:30:30 = 6:30:30 PM
603 1995-12-22T09:05:02 = 9:05:02 AM
604 -0010-09-15T04:44:23 = 4:44:23 AM
605
606=head2 Datetime Formats
607
608=head3 Full
609
610 2008-02-05T18:30:30 = Tuesday, February 5, 2008 6:30:30 PM UTC
611 1995-12-22T09:05:02 = Friday, December 22, 1995 9:05:02 AM UTC
612 -0010-09-15T04:44:23 = Saturday, September 15, -10 4:44:23 AM UTC
613
614=head3 Long
615
616 2008-02-05T18:30:30 = February 5, 2008 6:30:30 PM UTC
617 1995-12-22T09:05:02 = December 22, 1995 9:05:02 AM UTC
618 -0010-09-15T04:44:23 = September 15, -10 4:44:23 AM UTC
619
620=head3 Medium
621
622 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM
623 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM
624 -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM
625
626=head3 Short
627
628 2008-02-05T18:30:30 = 2/5/08 6:30 PM
629 1995-12-22T09:05:02 = 12/22/95 9:05 AM
630 -0010-09-15T04:44:23 = 9/15/10 4:44 AM
631
632=head3 Default
633
634 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM
635 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM
636 -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM
637
638=head2 Available Formats
639
640=head3 EEEd (d EEE)
641
642 2008-02-05T18:30:30 = 5 Tue
643 1995-12-22T09:05:02 = 22 Fri
644 -0010-09-15T04:44:23 = 15 Sat
645
646=head3 Hm (H:mm)
647
648 2008-02-05T18:30:30 = 18:30
649 1995-12-22T09:05:02 = 9:05
650 -0010-09-15T04:44:23 = 4:44
651
652=head3 Hms (H:mm:ss)
653
654 2008-02-05T18:30:30 = 18:30:30
655 1995-12-22T09:05:02 = 9:05:02
656 -0010-09-15T04:44:23 = 4:44:23
657
658=head3 M (L)
659
660 2008-02-05T18:30:30 = 2
661 1995-12-22T09:05:02 = 12
662 -0010-09-15T04:44:23 = 9
663
664=head3 MEd (E, M/d)
665
666 2008-02-05T18:30:30 = Tue, 2/5
667 1995-12-22T09:05:02 = Fri, 12/22
668 -0010-09-15T04:44:23 = Sat, 9/15
669
670=head3 MMM (LLL)
671
672 2008-02-05T18:30:30 = Feb
673 1995-12-22T09:05:02 = Dec
674 -0010-09-15T04:44:23 = Sep
675
676=head3 MMMEd (E, MMM d)
677
678 2008-02-05T18:30:30 = Tue, Feb 5
679 1995-12-22T09:05:02 = Fri, Dec 22
680 -0010-09-15T04:44:23 = Sat, Sep 15
681
682=head3 MMMMEd (E, MMMM d)
683
684 2008-02-05T18:30:30 = Tue, February 5
685 1995-12-22T09:05:02 = Fri, December 22
686 -0010-09-15T04:44:23 = Sat, September 15
687
688=head3 MMMMd (MMMM d)
689
690 2008-02-05T18:30:30 = February 5
691 1995-12-22T09:05:02 = December 22
692 -0010-09-15T04:44:23 = September 15
693
694=head3 MMMd (MMM d)
695
696 2008-02-05T18:30:30 = Feb 5
697 1995-12-22T09:05:02 = Dec 22
698 -0010-09-15T04:44:23 = Sep 15
699
700=head3 Md (M/d)
701
702 2008-02-05T18:30:30 = 2/5
703 1995-12-22T09:05:02 = 12/22
704 -0010-09-15T04:44:23 = 9/15
705
706=head3 d (d)
707
708 2008-02-05T18:30:30 = 5
709 1995-12-22T09:05:02 = 22
710 -0010-09-15T04:44:23 = 15
711
712=head3 hm (h:mm a)
713
714 2008-02-05T18:30:30 = 6:30 PM
715 1995-12-22T09:05:02 = 9:05 AM
716 -0010-09-15T04:44:23 = 4:44 AM
717
718=head3 hms (h:mm:ss a)
719
720 2008-02-05T18:30:30 = 6:30:30 PM
721 1995-12-22T09:05:02 = 9:05:02 AM
722 -0010-09-15T04:44:23 = 4:44:23 AM
723
724=head3 ms (mm:ss)
725
726 2008-02-05T18:30:30 = 30:30
727 1995-12-22T09:05:02 = 05:02
728 -0010-09-15T04:44:23 = 44:23
729
730=head3 y (y)
731
732 2008-02-05T18:30:30 = 2008
733 1995-12-22T09:05:02 = 1995
734 -0010-09-15T04:44:23 = -10
735
736=head3 yM (M/yyyy)
737
738 2008-02-05T18:30:30 = 2/2008
739 1995-12-22T09:05:02 = 12/1995
740 -0010-09-15T04:44:23 = 9/-010
741
742=head3 yMEd (EEE, M/d/yyyy)
743
744 2008-02-05T18:30:30 = Tue, 2/5/2008
745 1995-12-22T09:05:02 = Fri, 12/22/1995
746 -0010-09-15T04:44:23 = Sat, 9/15/-010
747
748=head3 yMMM (MMM y)
749
750 2008-02-05T18:30:30 = Feb 2008
751 1995-12-22T09:05:02 = Dec 1995
752 -0010-09-15T04:44:23 = Sep -10
753
754=head3 yMMMEd (EEE, MMM d, y)
755
756 2008-02-05T18:30:30 = Tue, Feb 5, 2008
757 1995-12-22T09:05:02 = Fri, Dec 22, 1995
758 -0010-09-15T04:44:23 = Sat, Sep 15, -10
759
760=head3 yMMMM (MMMM y)
761
762 2008-02-05T18:30:30 = February 2008
763 1995-12-22T09:05:02 = December 1995
764 -0010-09-15T04:44:23 = September -10
765
766=head3 yQ (Q yyyy)
767
768 2008-02-05T18:30:30 = 1 2008
769 1995-12-22T09:05:02 = 4 1995
770 -0010-09-15T04:44:23 = 3 -010
771
772=head3 yQQQ (QQQ y)
773
774 2008-02-05T18:30:30 = Q1 2008
775 1995-12-22T09:05:02 = Q4 1995
776 -0010-09-15T04:44:23 = Q3 -10
777
778=head2 Miscellaneous
779
780=head3 Prefers 24 hour time?
781
782No
783
784=head3 Local first day of the week
785
786Monday
787
788
789=head1 SUPPORT
790
791See L<DateTime::Locale>.
792
793=head1 AUTHOR
794
795Dave Rolsky <autarch@urth.org>
796
797=head1 COPYRIGHT
798
799Copyright (c) 2008 David Rolsky. All rights reserved. This program is
800free software; you can redistribute it and/or modify it under the same
801terms as Perl itself.
802
803This module was generated from data provided by the CLDR project, see
804the LICENSE.cldr in this distribution for details on the CLDR data's
805license.
806
807=cut