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