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 zh_CN.xml 12# The source file version number was 1.47, generated on 13# 2009/05/05 23:06:41. 14# 15# Do not edit this file directly. 16# 17########################################################################### 18 19package DateTime::Locale::zh_CN; 20 21use strict; 22use warnings; 23use utf8; 24 25use base 'DateTime::Locale::zh_Hans_CN'; 26 27sub cldr_version { return "1\.7\.1" } 28 29{ 30 my $first_day_of_week = "7"; 31 sub first_day_of_week { return $first_day_of_week } 32} 33 34{ 35 my $glibc_date_format = "\%Y年\%m月\%d日"; 36 sub glibc_date_format { return $glibc_date_format } 37} 38 39{ 40 my $glibc_date_1_format = "\%Y年\ \%m月\ \%d日\ \%A\ \%H\:\%M\:\%S\ \%Z"; 41 sub glibc_date_1_format { return $glibc_date_1_format } 42} 43 44{ 45 my $glibc_datetime_format = "\%Y年\%m月\%d日\ \%A\ \%H时\%M分\%S秒"; 46 sub glibc_datetime_format { return $glibc_datetime_format } 47} 48 49{ 50 my $glibc_time_format = "\%H时\%M分\%S秒"; 51 sub glibc_time_format { return $glibc_time_format } 52} 53 54{ 55 my $glibc_time_12_format = "\%p\ \%I时\%M分\%S秒"; 56 sub glibc_time_12_format { return $glibc_time_12_format } 57} 58 591; 60 61__END__ 62 63 64=pod 65 66=encoding utf8 67 68=head1 NAME 69 70DateTime::Locale::zh_CN 71 72=head1 SYNOPSIS 73 74 use DateTime; 75 76 my $dt = DateTime->now( locale => 'zh_CN' ); 77 print $dt->month_name(); 78 79=head1 DESCRIPTION 80 81This is the DateTime locale package for Chinese China. 82 83=head1 DATA 84 85This locale inherits from the L<DateTime::Locale::zh_Hans_CN> locale. 86 87It contains the following data. 88 89=head2 Days 90 91=head3 Wide (format) 92 93 星期一 94 星期二 95 星期三 96 星期四 97 星期五 98 星期六 99 星期日 100 101=head3 Abbreviated (format) 102 103 周一 104 周二 105 周三 106 周四 107 周五 108 周六 109 周日 110 111=head3 Narrow (format) 112 113 一 114 二 115 三 116 四 117 五 118 六 119 日 120 121=head3 Wide (stand-alone) 122 123 星期一 124 星期二 125 星期三 126 星期四 127 星期五 128 星期六 129 星期日 130 131=head3 Abbreviated (stand-alone) 132 133 周一 134 周二 135 周三 136 周四 137 周五 138 周六 139 周日 140 141=head3 Narrow (stand-alone) 142 143 一 144 二 145 三 146 四 147 五 148 六 149 日 150 151=head2 Months 152 153=head3 Wide (format) 154 155 1月 156 2月 157 3月 158 4月 159 5月 160 6月 161 7月 162 8月 163 9月 164 10月 165 11月 166 12月 167 168=head3 Abbreviated (format) 169 170 1月 171 2月 172 3月 173 4月 174 5月 175 6月 176 7月 177 8月 178 9月 179 10月 180 11月 181 12月 182 183=head3 Narrow (format) 184 185 1月 186 2月 187 3月 188 4月 189 5月 190 6月 191 7月 192 8月 193 9月 194 10月 195 11月 196 12月 197 198=head3 Wide (stand-alone) 199 200 一月 201 二月 202 三月 203 四月 204 五月 205 六月 206 七月 207 八月 208 九月 209 十月 210 十一月 211 十二月 212 213=head3 Abbreviated (stand-alone) 214 215 一月 216 二月 217 三月 218 四月 219 五月 220 六月 221 七月 222 八月 223 九月 224 十月 225 十一月 226 十二月 227 228=head3 Narrow (stand-alone) 229 230 1月 231 2月 232 3月 233 4月 234 5月 235 6月 236 7月 237 8月 238 9月 239 10月 240 11月 241 12月 242 243=head2 Quarters 244 245=head3 Wide (format) 246 247 第1季度 248 第2季度 249 第3季度 250 第4季度 251 252=head3 Abbreviated (format) 253 254 1季 255 2季 256 3季 257 4季 258 259=head3 Narrow (format) 260 261 1 262 2 263 3 264 4 265 266=head3 Wide (stand-alone) 267 268 第1季度 269 第2季度 270 第3季度 271 第4季度 272 273=head3 Abbreviated (stand-alone) 274 275 1季 276 2季 277 3季 278 4季 279 280=head3 Narrow (stand-alone) 281 282 1 283 2 284 3 285 4 286 287=head2 Eras 288 289=head3 Wide 290 291 公元前 292 公元 293 294=head3 Abbreviated 295 296 公元前 297 公元 298 299=head3 Narrow 300 301 公元前 302 公元 303 304=head2 Date Formats 305 306=head3 Full 307 308 2008-02-05T18:30:30 = 2008年2月5日星期二 309 1995-12-22T09:05:02 = 1995年12月22日星期五 310 -0010-09-15T04:44:23 = -10年9月15日星期六 311 312=head3 Long 313 314 2008-02-05T18:30:30 = 2008年2月5日 315 1995-12-22T09:05:02 = 1995年12月22日 316 -0010-09-15T04:44:23 = -10年9月15日 317 318=head3 Medium 319 320 2008-02-05T18:30:30 = 2008-2-5 321 1995-12-22T09:05:02 = 1995-12-22 322 -0010-09-15T04:44:23 = -010-9-15 323 324=head3 Short 325 326 2008-02-05T18:30:30 = 08-2-5 327 1995-12-22T09:05:02 = 95-12-22 328 -0010-09-15T04:44:23 = -10-9-15 329 330=head3 Default 331 332 2008-02-05T18:30:30 = 2008-2-5 333 1995-12-22T09:05:02 = 1995-12-22 334 -0010-09-15T04:44:23 = -010-9-15 335 336=head2 Time Formats 337 338=head3 Full 339 340 2008-02-05T18:30:30 = UTC下午6时30分30秒 341 1995-12-22T09:05:02 = UTC上午9时05分02秒 342 -0010-09-15T04:44:23 = UTC上午4时44分23秒 343 344=head3 Long 345 346 2008-02-05T18:30:30 = UTC下午6时30分30秒 347 1995-12-22T09:05:02 = UTC上午9时05分02秒 348 -0010-09-15T04:44:23 = UTC上午4时44分23秒 349 350=head3 Medium 351 352 2008-02-05T18:30:30 = 下午06:30:30 353 1995-12-22T09:05:02 = 上午09:05:02 354 -0010-09-15T04:44:23 = 上午04:44:23 355 356=head3 Short 357 358 2008-02-05T18:30:30 = 下午6:30 359 1995-12-22T09:05:02 = 上午9:05 360 -0010-09-15T04:44:23 = 上午4:44 361 362=head3 Default 363 364 2008-02-05T18:30:30 = 下午06:30:30 365 1995-12-22T09:05:02 = 上午09:05:02 366 -0010-09-15T04:44:23 = 上午04:44:23 367 368=head2 Datetime Formats 369 370=head3 Full 371 372 2008-02-05T18:30:30 = 2008年2月5日星期二UTC下午6时30分30秒 373 1995-12-22T09:05:02 = 1995年12月22日星期五UTC上午9时05分02秒 374 -0010-09-15T04:44:23 = -10年9月15日星期六UTC上午4时44分23秒 375 376=head3 Long 377 378 2008-02-05T18:30:30 = 2008年2月5日UTC下午6时30分30秒 379 1995-12-22T09:05:02 = 1995年12月22日UTC上午9时05分02秒 380 -0010-09-15T04:44:23 = -10年9月15日UTC上午4时44分23秒 381 382=head3 Medium 383 384 2008-02-05T18:30:30 = 2008-2-5下午06:30:30 385 1995-12-22T09:05:02 = 1995-12-22上午09:05:02 386 -0010-09-15T04:44:23 = -010-9-15上午04:44:23 387 388=head3 Short 389 390 2008-02-05T18:30:30 = 08-2-5下午6:30 391 1995-12-22T09:05:02 = 95-12-22上午9:05 392 -0010-09-15T04:44:23 = -10-9-15上午4:44 393 394=head3 Default 395 396 2008-02-05T18:30:30 = 2008-2-5下午06:30:30 397 1995-12-22T09:05:02 = 1995-12-22上午09:05:02 398 -0010-09-15T04:44:23 = -010-9-15上午04:44:23 399 400=head2 Available Formats 401 402=head3 d (d日) 403 404 2008-02-05T18:30:30 = 5日 405 1995-12-22T09:05:02 = 22日 406 -0010-09-15T04:44:23 = 15日 407 408=head3 Ed (d日E) 409 410 2008-02-05T18:30:30 = 5日周二 411 1995-12-22T09:05:02 = 22日周五 412 -0010-09-15T04:44:23 = 15日周六 413 414=head3 EEEd (d EEE) 415 416 2008-02-05T18:30:30 = 5 周二 417 1995-12-22T09:05:02 = 22 周五 418 -0010-09-15T04:44:23 = 15 周六 419 420=head3 H (H时) 421 422 2008-02-05T18:30:30 = 18时 423 1995-12-22T09:05:02 = 9时 424 -0010-09-15T04:44:23 = 4时 425 426=head3 HHmmss (HH:mm:ss) 427 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 431 432=head3 Hm (H:mm) 433 434 2008-02-05T18:30:30 = 18:30 435 1995-12-22T09:05:02 = 9:05 436 -0010-09-15T04:44:23 = 4:44 437 438=head3 hm (ah:mm) 439 440 2008-02-05T18:30:30 = 下午6:30 441 1995-12-22T09:05:02 = 上午9:05 442 -0010-09-15T04:44:23 = 上午4:44 443 444=head3 Hms (H:mm:ss) 445 446 2008-02-05T18:30:30 = 18:30:30 447 1995-12-22T09:05:02 = 9:05:02 448 -0010-09-15T04:44:23 = 4:44:23 449 450=head3 hms (ah:mm:ss) 451 452 2008-02-05T18:30:30 = 下午6:30:30 453 1995-12-22T09:05:02 = 上午9:05:02 454 -0010-09-15T04:44:23 = 上午4:44:23 455 456=head3 M (L) 457 458 2008-02-05T18:30:30 = 2 459 1995-12-22T09:05:02 = 12 460 -0010-09-15T04:44:23 = 9 461 462=head3 Md (M-d) 463 464 2008-02-05T18:30:30 = 2-5 465 1995-12-22T09:05:02 = 12-22 466 -0010-09-15T04:44:23 = 9-15 467 468=head3 MEd (M-dE) 469 470 2008-02-05T18:30:30 = 2-5周二 471 1995-12-22T09:05:02 = 12-22周五 472 -0010-09-15T04:44:23 = 9-15周六 473 474=head3 MMdd (MM-dd) 475 476 2008-02-05T18:30:30 = 02-05 477 1995-12-22T09:05:02 = 12-22 478 -0010-09-15T04:44:23 = 09-15 479 480=head3 MMM (LLL) 481 482 2008-02-05T18:30:30 = 二月 483 1995-12-22T09:05:02 = 十二月 484 -0010-09-15T04:44:23 = 九月 485 486=head3 MMMd (MMMd日) 487 488 2008-02-05T18:30:30 = 2月5日 489 1995-12-22T09:05:02 = 12月22日 490 -0010-09-15T04:44:23 = 9月15日 491 492=head3 MMMEd (MMMd日E) 493 494 2008-02-05T18:30:30 = 2月5日周二 495 1995-12-22T09:05:02 = 12月22日周五 496 -0010-09-15T04:44:23 = 9月15日周六 497 498=head3 MMMMd (MMMMd日) 499 500 2008-02-05T18:30:30 = 2月5日 501 1995-12-22T09:05:02 = 12月22日 502 -0010-09-15T04:44:23 = 9月15日 503 504=head3 MMMMdd (MMMMdd日) 505 506 2008-02-05T18:30:30 = 2月05日 507 1995-12-22T09:05:02 = 12月22日 508 -0010-09-15T04:44:23 = 9月15日 509 510=head3 MMMMEd (MMMMd日E) 511 512 2008-02-05T18:30:30 = 2月5日周二 513 1995-12-22T09:05:02 = 12月22日周五 514 -0010-09-15T04:44:23 = 9月15日周六 515 516=head3 ms (mm:ss) 517 518 2008-02-05T18:30:30 = 30:30 519 1995-12-22T09:05:02 = 05:02 520 -0010-09-15T04:44:23 = 44:23 521 522=head3 y (y年) 523 524 2008-02-05T18:30:30 = 2008年 525 1995-12-22T09:05:02 = 1995年 526 -0010-09-15T04:44:23 = -10年 527 528=head3 yM (yyyy-M) 529 530 2008-02-05T18:30:30 = 2008-2 531 1995-12-22T09:05:02 = 1995-12 532 -0010-09-15T04:44:23 = -010-9 533 534=head3 yMEd (y年M月d日,E) 535 536 2008-02-05T18:30:30 = 2008年2月5日,周二 537 1995-12-22T09:05:02 = 1995年12月22日,周五 538 -0010-09-15T04:44:23 = -10年9月15日,周六 539 540=head3 yMMM (y年MMM) 541 542 2008-02-05T18:30:30 = 2008年2月 543 1995-12-22T09:05:02 = 1995年12月 544 -0010-09-15T04:44:23 = -10年9月 545 546=head3 yMMMd (y年MMMd日) 547 548 2008-02-05T18:30:30 = 2008年2月5日 549 1995-12-22T09:05:02 = 1995年12月22日 550 -0010-09-15T04:44:23 = -10年9月15日 551 552=head3 yMMMEd (y年MMMd日EEE) 553 554 2008-02-05T18:30:30 = 2008年2月5日周二 555 1995-12-22T09:05:02 = 1995年12月22日周五 556 -0010-09-15T04:44:23 = -10年9月15日周六 557 558=head3 yMMMM (y年MMMM) 559 560 2008-02-05T18:30:30 = 2008年2月 561 1995-12-22T09:05:02 = 1995年12月 562 -0010-09-15T04:44:23 = -10年9月 563 564=head3 yQ (y年QQQ) 565 566 2008-02-05T18:30:30 = 2008年1季 567 1995-12-22T09:05:02 = 1995年4季 568 -0010-09-15T04:44:23 = -10年3季 569 570=head3 yQQQ (y年QQQ) 571 572 2008-02-05T18:30:30 = 2008年1季 573 1995-12-22T09:05:02 = 1995年4季 574 -0010-09-15T04:44:23 = -10年3季 575 576=head3 yyMM (yy-MM) 577 578 2008-02-05T18:30:30 = 08-02 579 1995-12-22T09:05:02 = 95-12 580 -0010-09-15T04:44:23 = -10-09 581 582=head3 yyMMM (yy年MMM) 583 584 2008-02-05T18:30:30 = 08年2月 585 1995-12-22T09:05:02 = 95年12月 586 -0010-09-15T04:44:23 = -10年9月 587 588=head3 yyQ (yy年第Q季度) 589 590 2008-02-05T18:30:30 = 08年第1季度 591 1995-12-22T09:05:02 = 95年第4季度 592 -0010-09-15T04:44:23 = -10年第3季度 593 594=head3 yyyy (y年) 595 596 2008-02-05T18:30:30 = 2008年 597 1995-12-22T09:05:02 = 1995年 598 -0010-09-15T04:44:23 = -10年 599 600=head3 yyyyM (y年M月) 601 602 2008-02-05T18:30:30 = 2008年2月 603 1995-12-22T09:05:02 = 1995年12月 604 -0010-09-15T04:44:23 = -10年9月 605 606=head3 yyyyMMMM (y年MMMM) 607 608 2008-02-05T18:30:30 = 2008年2月 609 1995-12-22T09:05:02 = 1995年12月 610 -0010-09-15T04:44:23 = -10年9月 611 612=head2 Miscellaneous 613 614=head3 Prefers 24 hour time? 615 616No 617 618=head3 Local first day of the week 619 620星期日 621 622 623=head1 SUPPORT 624 625See L<DateTime::Locale>. 626 627=head1 AUTHOR 628 629Dave Rolsky <autarch@urth.org> 630 631=head1 COPYRIGHT 632 633Copyright (c) 2008 David Rolsky. All rights reserved. This program is 634free software; you can redistribute it and/or modify it under the same 635terms as Perl itself. 636 637This module was generated from data provided by the CLDR project, see 638the LICENSE.cldr in this distribution for details on the CLDR data's 639license. 640 641=cut 642