The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DateTime::Locale::zh_CN

SYNOPSIS

  use DateTime;

  my $dt = DateTime->now( locale => 'zh_CN' );
  print $dt->month_name();

DESCRIPTION

This is the DateTime locale package for Chinese China.

DATA

This locale inherits from the DateTime::Locale::zh_Hans_CN locale.

It contains the following data.

Days

Wide (format)

  星期一
  星期二
  星期三
  星期四
  星期五
  星期六
  星期日

Abbreviated (format)

  周一
  周二
  周三
  周四
  周五
  周六
  周日

Narrow (format)

  一
  二
  三
  四
  五
  六
  日

Wide (stand-alone)

  星期一
  星期二
  星期三
  星期四
  星期五
  星期六
  星期日

Abbreviated (stand-alone)

  周一
  周二
  周三
  周四
  周五
  周六
  周日

Narrow (stand-alone)

  一
  二
  三
  四
  五
  六
  日

Months

Wide (format)

  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12

Abbreviated (format)

  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12

Narrow (format)

  1月
  2月
  3月
  4月
  5月
  6月
  7月
  8月
  9月
  10月
  11月
  12月

Wide (stand-alone)

  一月
  二月
  三月
  四月
  五月
  六月
  七月
  八月
  九月
  十月
  十一月
  十二月

Abbreviated (stand-alone)

  一月
  二月
  三月
  四月
  五月
  六月
  七月
  八月
  九月
  十月
  十一月
  十二月

Narrow (stand-alone)

  1月
  2月
  3月
  4月
  5月
  6月
  7月
  8月
  9月
  10月
  11月
  12月

Quarters

Wide (format)

  第1季度
  第2季度
  第3季度
  第4季度

Abbreviated (format)

  第一季度
  第二季度
  第三季度
  第四季度

Narrow (format)

  1
  2
  3
  4

Wide (stand-alone)

  第1季度
  第2季度
  第3季度
  第4季度

Abbreviated (stand-alone)

  第一季度
  第二季度
  第三季度
  第四季度

Narrow (stand-alone)

  1
  2
  3
  4

Eras

Wide

  公元前
  公元

Abbreviated

  公元前
  公元

Narrow

  公元前
  公元

Date Formats

Full

   2008-02-05T12:30:30 = 2008年2月5日星期二
   1995-12-22T09:05:02 = 1995年12月22日星期五
  -0010-12-22T23:05:02 = -010年12月22日星期六

Long

   2008-02-05T12:30:30 = 2008年2月5日
   1995-12-22T09:05:02 = 1995年12月22日
  -0010-12-22T23:05:02 = -010年12月22日

Medium

   2008-02-05T12:30:30 = 2008-2-5
   1995-12-22T09:05:02 = 1995-12-22
  -0010-12-22T23:05:02 = -010-12-22

Short

   2008-02-05T12:30:30 = 8-2-5
   1995-12-22T09:05:02 = 95-12-22
  -0010-12-22T23:05:02 = 10-12-22

Default

   2008-02-05T12:30:30 = 2008-2-5
   1995-12-22T09:05:02 = 1995-12-22
  -0010-12-22T23:05:02 = -010-12-22

Time Formats

Full

   2008-02-05T12:30:30 = 下午12时30分30秒 UTC
   1995-12-22T09:05:02 = 上午09时05分02秒 UTC
  -0010-12-22T23:05:02 = 下午11时05分02秒 UTC

Long

   2008-02-05T12:30:30 = 下午12时30分30秒 UTC
   1995-12-22T09:05:02 = 上午09时05分02秒 UTC
  -0010-12-22T23:05:02 = 下午11时05分02秒 UTC

Medium

   2008-02-05T12:30:30 = 下午12:30:30
   1995-12-22T09:05:02 = 上午09:05:02
  -0010-12-22T23:05:02 = 下午11:05:02

Short

   2008-02-05T12:30:30 = 下午12:30
   1995-12-22T09:05:02 = 上午9:05
  -0010-12-22T23:05:02 = 下午11:05

Default

   2008-02-05T12:30:30 = 下午12:30:30
   1995-12-22T09:05:02 = 上午09:05:02
  -0010-12-22T23:05:02 = 下午11:05:02

Datetime Formats

Full

   2008-02-05T12:30:30 = 2008年2月5日星期二 下午12时30分30秒 UTC
   1995-12-22T09:05:02 = 1995年12月22日星期五 上午09时05分02秒 UTC
  -0010-12-22T23:05:02 = -010年12月22日星期六 下午11时05分02秒 UTC

Long

   2008-02-05T12:30:30 = 2008年2月5日 下午12时30分30秒 UTC
   1995-12-22T09:05:02 = 1995年12月22日 上午09时05分02秒 UTC
  -0010-12-22T23:05:02 = -010年12月22日 下午11时05分02秒 UTC

Medium

   2008-02-05T12:30:30 = 2008-2-5 下午12:30:30
   1995-12-22T09:05:02 = 1995-12-22 上午09:05:02
  -0010-12-22T23:05:02 = -010-12-22 下午11:05:02

Short

   2008-02-05T12:30:30 = 8-2-5 下午12:30
   1995-12-22T09:05:02 = 95-12-22 上午9:05
  -0010-12-22T23:05:02 = 10-12-22 下午11:05

Default

   2008-02-05T12:30:30 = 2008-2-5 下午12:30:30
   1995-12-22T09:05:02 = 1995-12-22 上午09:05:02
  -0010-12-22T23:05:02 = -010-12-22 下午11:05:02

Available Formats

Ed (E d)

   2008-02-05T12:30:30 = 周二 5
   1995-12-22T09:05:02 = 周五 22
  -0010-12-22T23:05:02 = 周六 22

H (H)

   2008-02-05T12:30:30 = 12
   1995-12-22T09:05:02 = 9
  -0010-12-22T23:05:02 = 23

HHmm (HH:mm)

   2008-02-05T12:30:30 = 12:30
   1995-12-22T09:05:02 = 09:05
  -0010-12-22T23:05:02 = 23:05

HHmmss (HH:mm:ss)

   2008-02-05T12:30:30 = 12:30:30
   1995-12-22T09:05:02 = 09:05:02
  -0010-12-22T23:05:02 = 23:05:02

MMMEd (E MMM d)

   2008-02-05T12:30:30 = 周二 2 5
   1995-12-22T09:05:02 = 周五 12 22
  -0010-12-22T23:05:02 = 周六 12 22

MMMMd (MMMM月d日)

   2008-02-05T12:30:30 = 2月5日
   1995-12-22T09:05:02 = 12月22日
  -0010-12-22T23:05:02 = 12月22日

MMMMdd (dd MMMM)

   2008-02-05T12:30:30 = 05 2
   1995-12-22T09:05:02 = 22 12
  -0010-12-22T23:05:02 = 22 12

MMdd (dd/MM)

   2008-02-05T12:30:30 = 05/02
   1995-12-22T09:05:02 = 22/12
  -0010-12-22T23:05:02 = 22/12

Md (M-d)

   2008-02-05T12:30:30 = 2-5
   1995-12-22T09:05:02 = 12-22
  -0010-12-22T23:05:02 = 12-22

mmss (mm:ss)

   2008-02-05T12:30:30 = 30:30
   1995-12-22T09:05:02 = 05:02
  -0010-12-22T23:05:02 = 05:02

yyMM (yy-MM)

   2008-02-05T12:30:30 = 8-02
   1995-12-22T09:05:02 = 95-12
  -0010-12-22T23:05:02 = 10-12

yyMMM (yy年MMM月)

   2008-02-05T12:30:30 = 8年2月
   1995-12-22T09:05:02 = 95年12月
  -0010-12-22T23:05:02 = 10年12月

yyQ (yy年第Q季度)

   2008-02-05T12:30:30 = 8年第1季度
   1995-12-22T09:05:02 = 95年第4季度
  -0010-12-22T23:05:02 = 10年第4季度

yyyy (yyyy)

   2008-02-05T12:30:30 = 2008
   1995-12-22T09:05:02 = 1995
  -0010-12-22T23:05:02 = -010

yyyyM (yyyy年M月)

   2008-02-05T12:30:30 = 2008年2月
   1995-12-22T09:05:02 = 1995年12月
  -0010-12-22T23:05:02 = -010年12月

yyyyMMMM (MMMM yyyy)

   2008-02-05T12:30:30 = 2 2008
   1995-12-22T09:05:02 = 12 1995
  -0010-12-22T23:05:02 = 12 -010

Miscellaneous

Prefers 24 hour time?

No

Local first day of the week

星期日

SUPPORT

See DateTime::Locale.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT

Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license.