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 zh_CN.xml
12 # The source file version number was 1.47, generated on
13 # 2009/05/05 23:06:41.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::zh_CN;
25 use base 'DateTime::Locale::zh_Hans_CN';
27 sub cldr_version { return "1\.7\.1" }
30 my $first_day_of_week = "7";
31 sub first_day_of_week { return $first_day_of_week }
45 DateTime::Locale::zh_CN
51 my $dt = DateTime->now( locale => 'zh_CN' );
52 print $dt->month_name();
56 This is the DateTime locale package for Chinese China.
60 This locale inherits from the L<DateTime::Locale::zh_Hans_CN> locale.
62 It contains the following data.
76 =head3 Abbreviated (format)
86 =head3 Narrow (format)
96 =head3 Wide (stand-alone)
106 =head3 Abbreviated (stand-alone)
116 =head3 Narrow (stand-alone)
143 =head3 Abbreviated (format)
158 =head3 Narrow (format)
173 =head3 Wide (stand-alone)
188 =head3 Abbreviated (stand-alone)
203 =head3 Narrow (stand-alone)
227 =head3 Abbreviated (format)
234 =head3 Narrow (format)
241 =head3 Wide (stand-alone)
248 =head3 Abbreviated (stand-alone)
255 =head3 Narrow (stand-alone)
283 2008-02-05T18:30:30 = 2008年2月5日星期二
284 1995-12-22T09:05:02 = 1995年12月22日星期五
285 -0010-09-15T04:44:23 = -10年9月15日星期六
289 2008-02-05T18:30:30 = 2008年2月5日
290 1995-12-22T09:05:02 = 1995年12月22日
291 -0010-09-15T04:44:23 = -10年9月15日
295 2008-02-05T18:30:30 = 2008-2-5
296 1995-12-22T09:05:02 = 1995-12-22
297 -0010-09-15T04:44:23 = -010-9-15
301 2008-02-05T18:30:30 = 08-2-5
302 1995-12-22T09:05:02 = 95-12-22
303 -0010-09-15T04:44:23 = 10-9-15
307 2008-02-05T18:30:30 = 2008-2-5
308 1995-12-22T09:05:02 = 1995-12-22
309 -0010-09-15T04:44:23 = -010-9-15
315 2008-02-05T18:30:30 = UTC下午6时30分30秒
316 1995-12-22T09:05:02 = UTC上午9时05分02秒
317 -0010-09-15T04:44:23 = UTC上午4时44分23秒
321 2008-02-05T18:30:30 = UTC下午6时30分30秒
322 1995-12-22T09:05:02 = UTC上午9时05分02秒
323 -0010-09-15T04:44:23 = UTC上午4时44分23秒
327 2008-02-05T18:30:30 = 下午06:30:30
328 1995-12-22T09:05:02 = 上午09:05:02
329 -0010-09-15T04:44:23 = 上午04:44:23
333 2008-02-05T18:30:30 = 下午6:30
334 1995-12-22T09:05:02 = 上午9:05
335 -0010-09-15T04:44:23 = 上午4:44
339 2008-02-05T18:30:30 = 下午06:30:30
340 1995-12-22T09:05:02 = 上午09:05:02
341 -0010-09-15T04:44:23 = 上午04:44:23
343 =head2 Datetime Formats
347 2008-02-05T18:30:30 = 2008年2月5日星期二UTC下午6时30分30秒
348 1995-12-22T09:05:02 = 1995年12月22日星期五UTC上午9时05分02秒
349 -0010-09-15T04:44:23 = -10年9月15日星期六UTC上午4时44分23秒
353 2008-02-05T18:30:30 = 2008年2月5日UTC下午6时30分30秒
354 1995-12-22T09:05:02 = 1995年12月22日UTC上午9时05分02秒
355 -0010-09-15T04:44:23 = -10年9月15日UTC上午4时44分23秒
359 2008-02-05T18:30:30 = 2008-2-5下午06:30:30
360 1995-12-22T09:05:02 = 1995-12-22上午09:05:02
361 -0010-09-15T04:44:23 = -010-9-15上午04:44:23
365 2008-02-05T18:30:30 = 08-2-5下午6:30
366 1995-12-22T09:05:02 = 95-12-22上午9:05
367 -0010-09-15T04:44:23 = 10-9-15上午4:44
371 2008-02-05T18:30:30 = 2008-2-5下午06:30:30
372 1995-12-22T09:05:02 = 1995-12-22上午09:05:02
373 -0010-09-15T04:44:23 = -010-9-15上午04:44:23
375 =head2 Available Formats
379 2008-02-05T18:30:30 = 5 周二
380 1995-12-22T09:05:02 = 22 周五
381 -0010-09-15T04:44:23 = 15 周六
385 2008-02-05T18:30:30 = 5日周二
386 1995-12-22T09:05:02 = 22日周五
387 -0010-09-15T04:44:23 = 15日周六
391 2008-02-05T18:30:30 = 18时
392 1995-12-22T09:05:02 = 9时
393 -0010-09-15T04:44:23 = 4时
395 =head3 HHmmss (HH:mm:ss)
397 2008-02-05T18:30:30 = 18:30:30
398 1995-12-22T09:05:02 = 09:05:02
399 -0010-09-15T04:44:23 = 04:44:23
403 2008-02-05T18:30:30 = 18:30
404 1995-12-22T09:05:02 = 9:05
405 -0010-09-15T04:44:23 = 4:44
409 2008-02-05T18:30:30 = 18:30:30
410 1995-12-22T09:05:02 = 9:05:02
411 -0010-09-15T04:44:23 = 4:44:23
415 2008-02-05T18:30:30 = 2
416 1995-12-22T09:05:02 = 12
417 -0010-09-15T04:44:23 = 9
421 2008-02-05T18:30:30 = 2-5周二
422 1995-12-22T09:05:02 = 12-22周五
423 -0010-09-15T04:44:23 = 9-15周六
427 2008-02-05T18:30:30 = 二月
428 1995-12-22T09:05:02 = 十二月
429 -0010-09-15T04:44:23 = 九月
431 =head3 MMMEd (MMMd日E)
433 2008-02-05T18:30:30 = 2月5日周二
434 1995-12-22T09:05:02 = 12月22日周五
435 -0010-09-15T04:44:23 = 9月15日周六
437 =head3 MMMMEd (MMMMd日E)
439 2008-02-05T18:30:30 = 2月5日周二
440 1995-12-22T09:05:02 = 12月22日周五
441 -0010-09-15T04:44:23 = 9月15日周六
443 =head3 MMMMd (MMMMd日)
445 2008-02-05T18:30:30 = 2月5日
446 1995-12-22T09:05:02 = 12月22日
447 -0010-09-15T04:44:23 = 9月15日
449 =head3 MMMMdd (MMMMdd日)
451 2008-02-05T18:30:30 = 2月05日
452 1995-12-22T09:05:02 = 12月22日
453 -0010-09-15T04:44:23 = 9月15日
457 2008-02-05T18:30:30 = 2月5日
458 1995-12-22T09:05:02 = 12月22日
459 -0010-09-15T04:44:23 = 9月15日
463 2008-02-05T18:30:30 = 02-05
464 1995-12-22T09:05:02 = 12-22
465 -0010-09-15T04:44:23 = 09-15
469 2008-02-05T18:30:30 = 2-5
470 1995-12-22T09:05:02 = 12-22
471 -0010-09-15T04:44:23 = 9-15
475 2008-02-05T18:30:30 = 5日
476 1995-12-22T09:05:02 = 22日
477 -0010-09-15T04:44:23 = 15日
481 2008-02-05T18:30:30 = 下午6:30
482 1995-12-22T09:05:02 = 上午9:05
483 -0010-09-15T04:44:23 = 上午4:44
485 =head3 hms (ah:mm:ss)
487 2008-02-05T18:30:30 = 下午6:30:30
488 1995-12-22T09:05:02 = 上午9:05:02
489 -0010-09-15T04:44:23 = 上午4:44:23
493 2008-02-05T18:30:30 = 30:30
494 1995-12-22T09:05:02 = 05:02
495 -0010-09-15T04:44:23 = 44:23
499 2008-02-05T18:30:30 = 2008年
500 1995-12-22T09:05:02 = 1995年
501 -0010-09-15T04:44:23 = -10年
505 2008-02-05T18:30:30 = 2008-2
506 1995-12-22T09:05:02 = 1995-12
507 -0010-09-15T04:44:23 = -010-9
509 =head3 yMEd (y年M月d日,E)
511 2008-02-05T18:30:30 = 2008年2月5日,周二
512 1995-12-22T09:05:02 = 1995年12月22日,周五
513 -0010-09-15T04:44:23 = -10年9月15日,周六
517 2008-02-05T18:30:30 = 2008年2月
518 1995-12-22T09:05:02 = 1995年12月
519 -0010-09-15T04:44:23 = -10年9月
521 =head3 yMMMEd (y年MMMd日EEE)
523 2008-02-05T18:30:30 = 2008年2月5日周二
524 1995-12-22T09:05:02 = 1995年12月22日周五
525 -0010-09-15T04:44:23 = -10年9月15日周六
527 =head3 yMMMM (y年MMMM)
529 2008-02-05T18:30:30 = 2008年2月
530 1995-12-22T09:05:02 = 1995年12月
531 -0010-09-15T04:44:23 = -10年9月
533 =head3 yMMMd (y年MMMd日)
535 2008-02-05T18:30:30 = 2008年2月5日
536 1995-12-22T09:05:02 = 1995年12月22日
537 -0010-09-15T04:44:23 = -10年9月15日
541 2008-02-05T18:30:30 = 2008年1季
542 1995-12-22T09:05:02 = 1995年4季
543 -0010-09-15T04:44:23 = -10年3季
547 2008-02-05T18:30:30 = 2008年1季
548 1995-12-22T09:05:02 = 1995年4季
549 -0010-09-15T04:44:23 = -10年3季
553 2008-02-05T18:30:30 = 08-02
554 1995-12-22T09:05:02 = 95-12
555 -0010-09-15T04:44:23 = 10-09
557 =head3 yyMMM (yy年MMM)
559 2008-02-05T18:30:30 = 08年2月
560 1995-12-22T09:05:02 = 95年12月
561 -0010-09-15T04:44:23 = 10年9月
565 2008-02-05T18:30:30 = 08年第1季度
566 1995-12-22T09:05:02 = 95年第4季度
567 -0010-09-15T04:44:23 = 10年第3季度
571 2008-02-05T18:30:30 = 2008年
572 1995-12-22T09:05:02 = 1995年
573 -0010-09-15T04:44:23 = -10年
577 2008-02-05T18:30:30 = 2008年2月
578 1995-12-22T09:05:02 = 1995年12月
579 -0010-09-15T04:44:23 = -10年9月
581 =head3 yyyyMMMM (y年MMMM)
583 2008-02-05T18:30:30 = 2008年2月
584 1995-12-22T09:05:02 = 1995年12月
585 -0010-09-15T04:44:23 = -10年9月
589 =head3 Prefers 24 hour time?
593 =head3 Local first day of the week
600 See L<DateTime::Locale>.
604 Dave Rolsky <autarch@urth.org>
608 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
609 free software; you can redistribute it and/or modify it under the same
610 terms as Perl itself.
612 This module was generated from data provided by the CLDR project, see
613 the LICENSE.cldr in this distribution for details on the CLDR data's