Scroll to navigation

DateTime::Locale::zh_Hans_CN(3) User Contributed Perl Documentation DateTime::Locale::zh_Hans_CN(3)

NAME

DateTime::Locale::zh_Hans_CN

SYNOPSIS

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

DESCRIPTION

This is the DateTime locale package for Chinese Simplified Han China.

DATA

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

It contains the following data.

Days

Wide (format)

  XXX
  XXX
  XXX
  XXX
  XXX
  XXX
  XXX

Abbreviated (format)

  XX
  XX
  XX
  XX
  XX
  XX
  XX

Narrow (format)

  X
  X
  X
  X
  X
  X
  X

Wide (stand-alone)

  XXX
  XXX
  XXX
  XXX
  XXX
  XXX
  XXX

Abbreviated (stand-alone)

  XX
  XX
  XX
  XX
  XX
  XX
  XX

Narrow (stand-alone)

  X
  X
  X
  X
  X
  X
  X

Months

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

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

Wide (stand-alone)

  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XXX
  XXX

Abbreviated (stand-alone)

  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XX
  XXX
  XXX

Narrow (stand-alone)

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

Quarters

Wide (format)

  X1XX
  X2XX
  X3XX
  X4XX

Abbreviated (format)

  1X
  2X
  3X
  4X

Narrow (format)

  1
  2
  3
  4

Wide (stand-alone)

  X1XX
  X2XX
  X3XX
  X4XX

Abbreviated (stand-alone)

  1X
  2X
  3X
  4X

Narrow (stand-alone)

  1
  2
  3
  4

Eras

Wide

  XXX
  XX

Abbreviated

  XXX
  XX

Narrow

  XXX
  XX

Date Formats

Full

   2008-02-05T18:30:30 = 2008X2X5XXXX
   1995-12-22T09:05:02 = 1995X12X22XXXX
  -0010-09-15T04:44:23 = -10X9X15XXXX

Long

   2008-02-05T18:30:30 = 2008X2X5X
   1995-12-22T09:05:02 = 1995X12X22X
  -0010-09-15T04:44:23 = -10X9X15X

Medium

   2008-02-05T18:30:30 = 2008-2-5
   1995-12-22T09:05:02 = 1995-12-22
  -0010-09-15T04:44:23 = -010-9-15

Short

   2008-02-05T18:30:30 = 08-2-5
   1995-12-22T09:05:02 = 95-12-22
  -0010-09-15T04:44:23 = -10-9-15

Default

   2008-02-05T18:30:30 = 2008-2-5
   1995-12-22T09:05:02 = 1995-12-22
  -0010-09-15T04:44:23 = -010-9-15

Time Formats

Full

   2008-02-05T18:30:30 = UTCXX6X30X30X
   1995-12-22T09:05:02 = UTCXX9X05X02X
  -0010-09-15T04:44:23 = UTCXX4X44X23X

Long

   2008-02-05T18:30:30 = UTCXX6X30X30X
   1995-12-22T09:05:02 = UTCXX9X05X02X
  -0010-09-15T04:44:23 = UTCXX4X44X23X

Medium

   2008-02-05T18:30:30 = XX06:30:30
   1995-12-22T09:05:02 = XX09:05:02
  -0010-09-15T04:44:23 = XX04:44:23

Short

   2008-02-05T18:30:30 = XX6:30
   1995-12-22T09:05:02 = XX9:05
  -0010-09-15T04:44:23 = XX4:44

Default

   2008-02-05T18:30:30 = XX06:30:30
   1995-12-22T09:05:02 = XX09:05:02
  -0010-09-15T04:44:23 = XX04:44:23

Datetime Formats

Full

   2008-02-05T18:30:30 = 2008X2X5XXXXUTCXX6X30X30X
   1995-12-22T09:05:02 = 1995X12X22XXXXUTCXX9X05X02X
  -0010-09-15T04:44:23 = -10X9X15XXXXUTCXX4X44X23X

Long

   2008-02-05T18:30:30 = 2008X2X5XUTCXX6X30X30X
   1995-12-22T09:05:02 = 1995X12X22XUTCXX9X05X02X
  -0010-09-15T04:44:23 = -10X9X15XUTCXX4X44X23X

Medium

   2008-02-05T18:30:30 = 2008-2-5XX06:30:30
   1995-12-22T09:05:02 = 1995-12-22XX09:05:02
  -0010-09-15T04:44:23 = -010-9-15XX04:44:23

Short

   2008-02-05T18:30:30 = 08-2-5XX6:30
   1995-12-22T09:05:02 = 95-12-22XX9:05
  -0010-09-15T04:44:23 = -10-9-15XX4:44

Default

   2008-02-05T18:30:30 = 2008-2-5XX06:30:30
   1995-12-22T09:05:02 = 1995-12-22XX09:05:02
  -0010-09-15T04:44:23 = -010-9-15XX04:44:23

Available Formats

d (dX)

   2008-02-05T18:30:30 = 5X
   1995-12-22T09:05:02 = 22X
  -0010-09-15T04:44:23 = 15X

Ed (dXE)

   2008-02-05T18:30:30 = 5XXX
   1995-12-22T09:05:02 = 22XXX
  -0010-09-15T04:44:23 = 15XXX

EEEd (d EEE)

   2008-02-05T18:30:30 = 5 XX
   1995-12-22T09:05:02 = 22 XX
  -0010-09-15T04:44:23 = 15 XX

H (HX)

   2008-02-05T18:30:30 = 18X
   1995-12-22T09:05:02 = 9X
  -0010-09-15T04:44:23 = 4X

HHmmss (HH:mm:ss)

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 09:05:02
  -0010-09-15T04:44:23 = 04:44:23

Hm (H:mm)

   2008-02-05T18:30:30 = 18:30
   1995-12-22T09:05:02 = 9:05
  -0010-09-15T04:44:23 = 4:44

hm (ah:mm)

   2008-02-05T18:30:30 = XX6:30
   1995-12-22T09:05:02 = XX9:05
  -0010-09-15T04:44:23 = XX4:44

Hms (H:mm:ss)

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 9:05:02
  -0010-09-15T04:44:23 = 4:44:23

hms (ah:mm:ss)

   2008-02-05T18:30:30 = XX6:30:30
   1995-12-22T09:05:02 = XX9:05:02
  -0010-09-15T04:44:23 = XX4:44:23

M (L)

   2008-02-05T18:30:30 = 2
   1995-12-22T09:05:02 = 12
  -0010-09-15T04:44:23 = 9

Md (M-d)

   2008-02-05T18:30:30 = 2-5
   1995-12-22T09:05:02 = 12-22
  -0010-09-15T04:44:23 = 9-15

MEd (M-dE)

   2008-02-05T18:30:30 = 2-5XX
   1995-12-22T09:05:02 = 12-22XX
  -0010-09-15T04:44:23 = 9-15XX

MMdd (MM-dd)

   2008-02-05T18:30:30 = 02-05
   1995-12-22T09:05:02 = 12-22
  -0010-09-15T04:44:23 = 09-15

MMM (LLL)

   2008-02-05T18:30:30 = XX
   1995-12-22T09:05:02 = XXX
  -0010-09-15T04:44:23 = XX

MMMd (MMMdX)

   2008-02-05T18:30:30 = 2X5X
   1995-12-22T09:05:02 = 12X22X
  -0010-09-15T04:44:23 = 9X15X

MMMEd (MMMdXE)

   2008-02-05T18:30:30 = 2X5XXX
   1995-12-22T09:05:02 = 12X22XXX
  -0010-09-15T04:44:23 = 9X15XXX

MMMMd (MMMMdX)

   2008-02-05T18:30:30 = 2X5X
   1995-12-22T09:05:02 = 12X22X
  -0010-09-15T04:44:23 = 9X15X

MMMMdd (MMMMddX)

   2008-02-05T18:30:30 = 2X05X
   1995-12-22T09:05:02 = 12X22X
  -0010-09-15T04:44:23 = 9X15X

MMMMEd (MMMMdXE)

   2008-02-05T18:30:30 = 2X5XXX
   1995-12-22T09:05:02 = 12X22XXX
  -0010-09-15T04:44:23 = 9X15XXX

ms (mm:ss)

   2008-02-05T18:30:30 = 30:30
   1995-12-22T09:05:02 = 05:02
  -0010-09-15T04:44:23 = 44:23

y (yX)

   2008-02-05T18:30:30 = 2008X
   1995-12-22T09:05:02 = 1995X
  -0010-09-15T04:44:23 = -10X

yM (yyyy-M)

   2008-02-05T18:30:30 = 2008-2
   1995-12-22T09:05:02 = 1995-12
  -0010-09-15T04:44:23 = -010-9

yMEd (yXMXdXXE)

   2008-02-05T18:30:30 = 2008X2X5XXXX
   1995-12-22T09:05:02 = 1995X12X22XXXX
  -0010-09-15T04:44:23 = -10X9X15XXXX

yMMM (yXMMM)

   2008-02-05T18:30:30 = 2008X2X
   1995-12-22T09:05:02 = 1995X12X
  -0010-09-15T04:44:23 = -10X9X

yMMMd (yXMMMdX)

   2008-02-05T18:30:30 = 2008X2X5X
   1995-12-22T09:05:02 = 1995X12X22X
  -0010-09-15T04:44:23 = -10X9X15X

yMMMEd (yXMMMdXEEE)

   2008-02-05T18:30:30 = 2008X2X5XXX
   1995-12-22T09:05:02 = 1995X12X22XXX
  -0010-09-15T04:44:23 = -10X9X15XXX

yMMMM (yXMMMM)

   2008-02-05T18:30:30 = 2008X2X
   1995-12-22T09:05:02 = 1995X12X
  -0010-09-15T04:44:23 = -10X9X

yQ (yXQQQ)

   2008-02-05T18:30:30 = 2008X1X
   1995-12-22T09:05:02 = 1995X4X
  -0010-09-15T04:44:23 = -10X3X

yQQQ (yXQQQ)

   2008-02-05T18:30:30 = 2008X1X
   1995-12-22T09:05:02 = 1995X4X
  -0010-09-15T04:44:23 = -10X3X

yyMM (yy-MM)

   2008-02-05T18:30:30 = 08-02
   1995-12-22T09:05:02 = 95-12
  -0010-09-15T04:44:23 = -10-09

yyMMM (yyXMMM)

   2008-02-05T18:30:30 = 08X2X
   1995-12-22T09:05:02 = 95X12X
  -0010-09-15T04:44:23 = -10X9X

yyQ (yyXXQXX)

   2008-02-05T18:30:30 = 08XX1XX
   1995-12-22T09:05:02 = 95XX4XX
  -0010-09-15T04:44:23 = -10XX3XX

yyyy (yX)

   2008-02-05T18:30:30 = 2008X
   1995-12-22T09:05:02 = 1995X
  -0010-09-15T04:44:23 = -10X

yyyyM (yXMX)

   2008-02-05T18:30:30 = 2008X2X
   1995-12-22T09:05:02 = 1995X12X
  -0010-09-15T04:44:23 = -10X9X

yyyyMMMM (yXMMMM)

   2008-02-05T18:30:30 = 2008X2X
   1995-12-22T09:05:02 = 1995X12X
  -0010-09-15T04:44:23 = -10X9X

Miscellaneous

Prefers 24 hour time?

No

Local first day of the week

XXX

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.

2014-05-02 perl v5.16.3