File | /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/en_US.pm |
Statements Executed | 17 |
Statement Execution Time | 152µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 15µs | 18µs | BEGIN@21 | DateTime::Locale::en_US::
1 | 1 | 1 | 10µs | 14µs | BEGIN@23 | DateTime::Locale::en_US::
1 | 1 | 1 | 8µs | 17µs | BEGIN@22 | DateTime::Locale::en_US::
1 | 1 | 1 | 8µs | 3.36ms | BEGIN@25 | DateTime::Locale::en_US::
2 | 1 | 1 | 4µs | 4µs | cldr_version | DateTime::Locale::en_US::
0 | 0 | 0 | 0s | 0s | first_day_of_week | DateTime::Locale::en_US::
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_US.xml | ||||
12 | # The source file version number was 1.53, generated on | ||||
13 | # 2009/05/05 23:06:35. | ||||
14 | # | ||||
15 | # Do not edit this file directly. | ||||
16 | # | ||||
17 | ########################################################################### | ||||
18 | |||||
19 | package DateTime::Locale::en_US; | ||||
20 | |||||
21 | 3 | 21µs | 2 | 20µs | # spent 18µs (15+3) within DateTime::Locale::en_US::BEGIN@21 which was called
# once (15µs+3µs) by DateTime::Locale::_load_class_from_id at line 21 # spent 18µs making 1 call to DateTime::Locale::en_US::BEGIN@21
# spent 3µs making 1 call to strict::import |
22 | 3 | 28µs | 2 | 26µs | # spent 17µs (8+9) within DateTime::Locale::en_US::BEGIN@22 which was called
# once (8µs+9µs) by DateTime::Locale::_load_class_from_id at line 22 # spent 17µs making 1 call to DateTime::Locale::en_US::BEGIN@22
# spent 9µs making 1 call to warnings::import |
23 | 3 | 24µs | 2 | 18µs | # spent 14µs (10+4) within DateTime::Locale::en_US::BEGIN@23 which was called
# once (10µs+4µs) by DateTime::Locale::_load_class_from_id at line 23 # spent 14µs making 1 call to DateTime::Locale::en_US::BEGIN@23
# spent 4µs making 1 call to utf8::import |
24 | |||||
25 | 3 | 67µs | 2 | 6.70ms | # spent 3.36ms (8µs+3.35) within DateTime::Locale::en_US::BEGIN@25 which was called
# once (8µs+3.35ms) by DateTime::Locale::_load_class_from_id at line 25 # spent 3.36ms making 1 call to DateTime::Locale::en_US::BEGIN@25
# spent 3.35ms making 1 call to base::import |
26 | |||||
27 | 2 | 8µs | # spent 4µs within DateTime::Locale::en_US::cldr_version which was called 2 times, avg 2µs/call:
# 2 times (4µs+0s) by DateTime::Locale::_load_class_from_id at line 313 of DateTime/Locale.pm, avg 2µs/call | ||
28 | |||||
29 | { | ||||
30 | 2 | 1µs | my $first_day_of_week = "7"; | ||
31 | sub first_day_of_week { return $first_day_of_week } | ||||
32 | } | ||||
33 | |||||
34 | 1 | 3µs | 1; | ||
35 | |||||
36 | __END__ | ||||
37 | |||||
38 | |||||
39 | =pod | ||||
40 | |||||
41 | =encoding utf8 | ||||
42 | |||||
43 | =head1 NAME | ||||
44 | |||||
45 | DateTime::Locale::en_US | ||||
46 | |||||
47 | =head1 SYNOPSIS | ||||
48 | |||||
49 | use DateTime; | ||||
50 | |||||
51 | my $dt = DateTime->now( locale => 'en_US' ); | ||||
52 | print $dt->month_name(); | ||||
53 | |||||
54 | =head1 DESCRIPTION | ||||
55 | |||||
56 | This is the DateTime locale package for English United States. | ||||
57 | |||||
58 | =head1 DATA | ||||
59 | |||||
60 | This locale inherits from the L<DateTime::Locale::en> locale. | ||||
61 | |||||
62 | It contains the following data. | ||||
63 | |||||
64 | =head2 Days | ||||
65 | |||||
66 | =head3 Wide (format) | ||||
67 | |||||
68 | Monday | ||||
69 | Tuesday | ||||
70 | Wednesday | ||||
71 | Thursday | ||||
72 | Friday | ||||
73 | Saturday | ||||
74 | Sunday | ||||
75 | |||||
76 | =head3 Abbreviated (format) | ||||
77 | |||||
78 | Mon | ||||
79 | Tue | ||||
80 | Wed | ||||
81 | Thu | ||||
82 | Fri | ||||
83 | Sat | ||||
84 | Sun | ||||
85 | |||||
86 | =head3 Narrow (format) | ||||
87 | |||||
88 | M | ||||
89 | T | ||||
90 | W | ||||
91 | T | ||||
92 | F | ||||
93 | S | ||||
94 | S | ||||
95 | |||||
96 | =head3 Wide (stand-alone) | ||||
97 | |||||
98 | Monday | ||||
99 | Tuesday | ||||
100 | Wednesday | ||||
101 | Thursday | ||||
102 | Friday | ||||
103 | Saturday | ||||
104 | Sunday | ||||
105 | |||||
106 | =head3 Abbreviated (stand-alone) | ||||
107 | |||||
108 | Mon | ||||
109 | Tue | ||||
110 | Wed | ||||
111 | Thu | ||||
112 | Fri | ||||
113 | Sat | ||||
114 | Sun | ||||
115 | |||||
116 | =head3 Narrow (stand-alone) | ||||
117 | |||||
118 | M | ||||
119 | T | ||||
120 | W | ||||
121 | T | ||||
122 | F | ||||
123 | S | ||||
124 | S | ||||
125 | |||||
126 | =head2 Months | ||||
127 | |||||
128 | =head3 Wide (format) | ||||
129 | |||||
130 | January | ||||
131 | February | ||||
132 | March | ||||
133 | April | ||||
134 | May | ||||
135 | June | ||||
136 | July | ||||
137 | August | ||||
138 | September | ||||
139 | October | ||||
140 | November | ||||
141 | December | ||||
142 | |||||
143 | =head3 Abbreviated (format) | ||||
144 | |||||
145 | Jan | ||||
146 | Feb | ||||
147 | Mar | ||||
148 | Apr | ||||
149 | May | ||||
150 | Jun | ||||
151 | Jul | ||||
152 | Aug | ||||
153 | Sep | ||||
154 | Oct | ||||
155 | Nov | ||||
156 | Dec | ||||
157 | |||||
158 | =head3 Narrow (format) | ||||
159 | |||||
160 | J | ||||
161 | F | ||||
162 | M | ||||
163 | A | ||||
164 | M | ||||
165 | J | ||||
166 | J | ||||
167 | A | ||||
168 | S | ||||
169 | O | ||||
170 | N | ||||
171 | D | ||||
172 | |||||
173 | =head3 Wide (stand-alone) | ||||
174 | |||||
175 | January | ||||
176 | February | ||||
177 | March | ||||
178 | April | ||||
179 | May | ||||
180 | June | ||||
181 | July | ||||
182 | August | ||||
183 | September | ||||
184 | October | ||||
185 | November | ||||
186 | December | ||||
187 | |||||
188 | =head3 Abbreviated (stand-alone) | ||||
189 | |||||
190 | Jan | ||||
191 | Feb | ||||
192 | Mar | ||||
193 | Apr | ||||
194 | May | ||||
195 | Jun | ||||
196 | Jul | ||||
197 | Aug | ||||
198 | Sep | ||||
199 | Oct | ||||
200 | Nov | ||||
201 | Dec | ||||
202 | |||||
203 | =head3 Narrow (stand-alone) | ||||
204 | |||||
205 | J | ||||
206 | F | ||||
207 | M | ||||
208 | A | ||||
209 | M | ||||
210 | J | ||||
211 | J | ||||
212 | A | ||||
213 | S | ||||
214 | O | ||||
215 | N | ||||
216 | D | ||||
217 | |||||
218 | =head2 Quarters | ||||
219 | |||||
220 | =head3 Wide (format) | ||||
221 | |||||
222 | 1st quarter | ||||
223 | 2nd quarter | ||||
224 | 3rd quarter | ||||
225 | 4th quarter | ||||
226 | |||||
227 | =head3 Abbreviated (format) | ||||
228 | |||||
229 | Q1 | ||||
230 | Q2 | ||||
231 | Q3 | ||||
232 | Q4 | ||||
233 | |||||
234 | =head3 Narrow (format) | ||||
235 | |||||
236 | 1 | ||||
237 | 2 | ||||
238 | 3 | ||||
239 | 4 | ||||
240 | |||||
241 | =head3 Wide (stand-alone) | ||||
242 | |||||
243 | 1st quarter | ||||
244 | 2nd quarter | ||||
245 | 3rd quarter | ||||
246 | 4th quarter | ||||
247 | |||||
248 | =head3 Abbreviated (stand-alone) | ||||
249 | |||||
250 | Q1 | ||||
251 | Q2 | ||||
252 | Q3 | ||||
253 | Q4 | ||||
254 | |||||
255 | =head3 Narrow (stand-alone) | ||||
256 | |||||
257 | 1 | ||||
258 | 2 | ||||
259 | 3 | ||||
260 | 4 | ||||
261 | |||||
262 | =head2 Eras | ||||
263 | |||||
264 | =head3 Wide | ||||
265 | |||||
266 | Before Christ | ||||
267 | Anno Domini | ||||
268 | |||||
269 | =head3 Abbreviated | ||||
270 | |||||
271 | BC | ||||
272 | AD | ||||
273 | |||||
274 | =head3 Narrow | ||||
275 | |||||
276 | B | ||||
277 | A | ||||
278 | |||||
279 | =head2 Date Formats | ||||
280 | |||||
281 | =head3 Full | ||||
282 | |||||
283 | 2008-02-05T18:30:30 = Tuesday, February 5, 2008 | ||||
284 | 1995-12-22T09:05:02 = Friday, December 22, 1995 | ||||
285 | -0010-09-15T04:44:23 = Saturday, September 15, -10 | ||||
286 | |||||
287 | =head3 Long | ||||
288 | |||||
289 | 2008-02-05T18:30:30 = February 5, 2008 | ||||
290 | 1995-12-22T09:05:02 = December 22, 1995 | ||||
291 | -0010-09-15T04:44:23 = September 15, -10 | ||||
292 | |||||
293 | =head3 Medium | ||||
294 | |||||
295 | 2008-02-05T18:30:30 = Feb 5, 2008 | ||||
296 | 1995-12-22T09:05:02 = Dec 22, 1995 | ||||
297 | -0010-09-15T04:44:23 = Sep 15, -10 | ||||
298 | |||||
299 | =head3 Short | ||||
300 | |||||
301 | 2008-02-05T18:30:30 = 2/5/08 | ||||
302 | 1995-12-22T09:05:02 = 12/22/95 | ||||
303 | -0010-09-15T04:44:23 = 9/15/10 | ||||
304 | |||||
305 | =head3 Default | ||||
306 | |||||
307 | 2008-02-05T18:30:30 = Feb 5, 2008 | ||||
308 | 1995-12-22T09:05:02 = Dec 22, 1995 | ||||
309 | -0010-09-15T04:44:23 = Sep 15, -10 | ||||
310 | |||||
311 | =head2 Time Formats | ||||
312 | |||||
313 | =head3 Full | ||||
314 | |||||
315 | 2008-02-05T18:30:30 = 6:30:30 PM UTC | ||||
316 | 1995-12-22T09:05:02 = 9:05:02 AM UTC | ||||
317 | -0010-09-15T04:44:23 = 4:44:23 AM UTC | ||||
318 | |||||
319 | =head3 Long | ||||
320 | |||||
321 | 2008-02-05T18:30:30 = 6:30:30 PM UTC | ||||
322 | 1995-12-22T09:05:02 = 9:05:02 AM UTC | ||||
323 | -0010-09-15T04:44:23 = 4:44:23 AM UTC | ||||
324 | |||||
325 | =head3 Medium | ||||
326 | |||||
327 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
328 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
329 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
330 | |||||
331 | =head3 Short | ||||
332 | |||||
333 | 2008-02-05T18:30:30 = 6:30 PM | ||||
334 | 1995-12-22T09:05:02 = 9:05 AM | ||||
335 | -0010-09-15T04:44:23 = 4:44 AM | ||||
336 | |||||
337 | =head3 Default | ||||
338 | |||||
339 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
340 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
341 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
342 | |||||
343 | =head2 Datetime Formats | ||||
344 | |||||
345 | =head3 Full | ||||
346 | |||||
347 | 2008-02-05T18:30:30 = Tuesday, February 5, 2008 6:30:30 PM UTC | ||||
348 | 1995-12-22T09:05:02 = Friday, December 22, 1995 9:05:02 AM UTC | ||||
349 | -0010-09-15T04:44:23 = Saturday, September 15, -10 4:44:23 AM UTC | ||||
350 | |||||
351 | =head3 Long | ||||
352 | |||||
353 | 2008-02-05T18:30:30 = February 5, 2008 6:30:30 PM UTC | ||||
354 | 1995-12-22T09:05:02 = December 22, 1995 9:05:02 AM UTC | ||||
355 | -0010-09-15T04:44:23 = September 15, -10 4:44:23 AM UTC | ||||
356 | |||||
357 | =head3 Medium | ||||
358 | |||||
359 | 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM | ||||
360 | 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM | ||||
361 | -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM | ||||
362 | |||||
363 | =head3 Short | ||||
364 | |||||
365 | 2008-02-05T18:30:30 = 2/5/08 6:30 PM | ||||
366 | 1995-12-22T09:05:02 = 12/22/95 9:05 AM | ||||
367 | -0010-09-15T04:44:23 = 9/15/10 4:44 AM | ||||
368 | |||||
369 | =head3 Default | ||||
370 | |||||
371 | 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM | ||||
372 | 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM | ||||
373 | -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM | ||||
374 | |||||
375 | =head2 Available Formats | ||||
376 | |||||
377 | =head3 EEEd (d EEE) | ||||
378 | |||||
379 | 2008-02-05T18:30:30 = 5 Tue | ||||
380 | 1995-12-22T09:05:02 = 22 Fri | ||||
381 | -0010-09-15T04:44:23 = 15 Sat | ||||
382 | |||||
383 | =head3 Hm (H:mm) | ||||
384 | |||||
385 | 2008-02-05T18:30:30 = 18:30 | ||||
386 | 1995-12-22T09:05:02 = 9:05 | ||||
387 | -0010-09-15T04:44:23 = 4:44 | ||||
388 | |||||
389 | =head3 Hms (H:mm:ss) | ||||
390 | |||||
391 | 2008-02-05T18:30:30 = 18:30:30 | ||||
392 | 1995-12-22T09:05:02 = 9:05:02 | ||||
393 | -0010-09-15T04:44:23 = 4:44:23 | ||||
394 | |||||
395 | =head3 M (L) | ||||
396 | |||||
397 | 2008-02-05T18:30:30 = 2 | ||||
398 | 1995-12-22T09:05:02 = 12 | ||||
399 | -0010-09-15T04:44:23 = 9 | ||||
400 | |||||
401 | =head3 MEd (E, M/d) | ||||
402 | |||||
403 | 2008-02-05T18:30:30 = Tue, 2/5 | ||||
404 | 1995-12-22T09:05:02 = Fri, 12/22 | ||||
405 | -0010-09-15T04:44:23 = Sat, 9/15 | ||||
406 | |||||
407 | =head3 MMM (LLL) | ||||
408 | |||||
409 | 2008-02-05T18:30:30 = Feb | ||||
410 | 1995-12-22T09:05:02 = Dec | ||||
411 | -0010-09-15T04:44:23 = Sep | ||||
412 | |||||
413 | =head3 MMMEd (E, MMM d) | ||||
414 | |||||
415 | 2008-02-05T18:30:30 = Tue, Feb 5 | ||||
416 | 1995-12-22T09:05:02 = Fri, Dec 22 | ||||
417 | -0010-09-15T04:44:23 = Sat, Sep 15 | ||||
418 | |||||
419 | =head3 MMMMEd (E, MMMM d) | ||||
420 | |||||
421 | 2008-02-05T18:30:30 = Tue, February 5 | ||||
422 | 1995-12-22T09:05:02 = Fri, December 22 | ||||
423 | -0010-09-15T04:44:23 = Sat, September 15 | ||||
424 | |||||
425 | =head3 MMMMd (MMMM d) | ||||
426 | |||||
427 | 2008-02-05T18:30:30 = February 5 | ||||
428 | 1995-12-22T09:05:02 = December 22 | ||||
429 | -0010-09-15T04:44:23 = September 15 | ||||
430 | |||||
431 | =head3 MMMd (MMM d) | ||||
432 | |||||
433 | 2008-02-05T18:30:30 = Feb 5 | ||||
434 | 1995-12-22T09:05:02 = Dec 22 | ||||
435 | -0010-09-15T04:44:23 = Sep 15 | ||||
436 | |||||
437 | =head3 Md (M/d) | ||||
438 | |||||
439 | 2008-02-05T18:30:30 = 2/5 | ||||
440 | 1995-12-22T09:05:02 = 12/22 | ||||
441 | -0010-09-15T04:44:23 = 9/15 | ||||
442 | |||||
443 | =head3 d (d) | ||||
444 | |||||
445 | 2008-02-05T18:30:30 = 5 | ||||
446 | 1995-12-22T09:05:02 = 22 | ||||
447 | -0010-09-15T04:44:23 = 15 | ||||
448 | |||||
449 | =head3 hm (h:mm a) | ||||
450 | |||||
451 | 2008-02-05T18:30:30 = 6:30 PM | ||||
452 | 1995-12-22T09:05:02 = 9:05 AM | ||||
453 | -0010-09-15T04:44:23 = 4:44 AM | ||||
454 | |||||
455 | =head3 hms (h:mm:ss a) | ||||
456 | |||||
457 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
458 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
459 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
460 | |||||
461 | =head3 ms (mm:ss) | ||||
462 | |||||
463 | 2008-02-05T18:30:30 = 30:30 | ||||
464 | 1995-12-22T09:05:02 = 05:02 | ||||
465 | -0010-09-15T04:44:23 = 44:23 | ||||
466 | |||||
467 | =head3 y (y) | ||||
468 | |||||
469 | 2008-02-05T18:30:30 = 2008 | ||||
470 | 1995-12-22T09:05:02 = 1995 | ||||
471 | -0010-09-15T04:44:23 = -10 | ||||
472 | |||||
473 | =head3 yM (M/yyyy) | ||||
474 | |||||
475 | 2008-02-05T18:30:30 = 2/2008 | ||||
476 | 1995-12-22T09:05:02 = 12/1995 | ||||
477 | -0010-09-15T04:44:23 = 9/-010 | ||||
478 | |||||
479 | =head3 yMEd (EEE, M/d/yyyy) | ||||
480 | |||||
481 | 2008-02-05T18:30:30 = Tue, 2/5/2008 | ||||
482 | 1995-12-22T09:05:02 = Fri, 12/22/1995 | ||||
483 | -0010-09-15T04:44:23 = Sat, 9/15/-010 | ||||
484 | |||||
485 | =head3 yMMM (MMM y) | ||||
486 | |||||
487 | 2008-02-05T18:30:30 = Feb 2008 | ||||
488 | 1995-12-22T09:05:02 = Dec 1995 | ||||
489 | -0010-09-15T04:44:23 = Sep -10 | ||||
490 | |||||
491 | =head3 yMMMEd (EEE, MMM d, y) | ||||
492 | |||||
493 | 2008-02-05T18:30:30 = Tue, Feb 5, 2008 | ||||
494 | 1995-12-22T09:05:02 = Fri, Dec 22, 1995 | ||||
495 | -0010-09-15T04:44:23 = Sat, Sep 15, -10 | ||||
496 | |||||
497 | =head3 yMMMM (MMMM y) | ||||
498 | |||||
499 | 2008-02-05T18:30:30 = February 2008 | ||||
500 | 1995-12-22T09:05:02 = December 1995 | ||||
501 | -0010-09-15T04:44:23 = September -10 | ||||
502 | |||||
503 | =head3 yQ (Q yyyy) | ||||
504 | |||||
505 | 2008-02-05T18:30:30 = 1 2008 | ||||
506 | 1995-12-22T09:05:02 = 4 1995 | ||||
507 | -0010-09-15T04:44:23 = 3 -010 | ||||
508 | |||||
509 | =head3 yQQQ (QQQ y) | ||||
510 | |||||
511 | 2008-02-05T18:30:30 = Q1 2008 | ||||
512 | 1995-12-22T09:05:02 = Q4 1995 | ||||
513 | -0010-09-15T04:44:23 = Q3 -10 | ||||
514 | |||||
515 | =head2 Miscellaneous | ||||
516 | |||||
517 | =head3 Prefers 24 hour time? | ||||
518 | |||||
519 | No | ||||
520 | |||||
521 | =head3 Local first day of the week | ||||
522 | |||||
523 | Sunday | ||||
524 | |||||
525 | |||||
526 | =head1 SUPPORT | ||||
527 | |||||
528 | See L<DateTime::Locale>. | ||||
529 | |||||
530 | =head1 AUTHOR | ||||
531 | |||||
532 | Dave Rolsky <autarch@urth.org> | ||||
533 | |||||
534 | =head1 COPYRIGHT | ||||
535 | |||||
536 | Copyright (c) 2008 David Rolsky. All rights reserved. This program is | ||||
537 | free software; you can redistribute it and/or modify it under the same | ||||
538 | terms as Perl itself. | ||||
539 | |||||
540 | This module was generated from data provided by the CLDR project, see | ||||
541 | the LICENSE.cldr in this distribution for details on the CLDR data's | ||||
542 | license. | ||||
543 | |||||
544 | =cut |