Scroll to navigation

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

NAME

DateTime::Locale::ja

SYNOPSIS

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

DESCRIPTION

This is the DateTime locale package for Japanese.

DATA

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

It contains the following data.

Days

Wide (format)

  XXX
  XXX
  XXX
  XXX
  XXX
  XXX
  XXX

Abbreviated (format)

  X
  X
  X
  X
  X
  X
  X

Narrow (format)

  X
  X
  X
  X
  X
  X
  X

Wide (stand-alone)

  XXX
  XXX
  XXX
  XXX
  XXX
  XXX
  XXX

Abbreviated (stand-alone)

  X
  X
  X
  X
  X
  X
  X

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)

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

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

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

Quarters

Wide (format)

  X1XXX
  X2XXX
  X3XXX
  X4XXX

Abbreviated (format)

  Q1
  Q2
  Q3
  Q4

Narrow (format)

  1
  2
  3
  4

Wide (stand-alone)

  X1XXX
  X2XXX
  X3XXX
  X4XXX

Abbreviated (stand-alone)

  Q1
  Q2
  Q3
  Q4

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/02/05
   1995-12-22T09:05:02 = 1995/12/22
  -0010-09-15T04:44:23 = -010/09/15

Short

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

Default

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

Time Formats

Full

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

Long

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

Medium

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

Short

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

Default

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

Datetime Formats

Full

   2008-02-05T18:30:30 = 2008X2X5XXXX18X30X30X UTC
   1995-12-22T09:05:02 = 1995X12X22XXXX9X05X02X UTC
  -0010-09-15T04:44:23 = -10X9X15XXXX4X44X23X UTC

Long

   2008-02-05T18:30:30 = 2008X2X5X18:30:30 UTC
   1995-12-22T09:05:02 = 1995X12X22X09:05:02 UTC
  -0010-09-15T04:44:23 = -10X9X15X04:44:23 UTC

Medium

   2008-02-05T18:30:30 = 2008/02/0518:30:30
   1995-12-22T09:05:02 = 1995/12/229:05:02
  -0010-09-15T04:44:23 = -010/09/154:44:23

Short

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

Default

   2008-02-05T18:30:30 = 2008/02/0518:30:30
   1995-12-22T09:05:02 = 1995/12/229:05:02
  -0010-09-15T04:44:23 = -010/09/154: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 (dX(EEE))

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

EEEd (d EEE)

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

GGGGyMd (GGGGyXMXdX)

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

H (HX)

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

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/d(E))

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

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 = 2X
   1995-12-22T09:05:02 = 12X
  -0010-09-15T04:44:23 = 9X

MMMd (MXdX)

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

MMMEd (MXdX(E))

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

MMMMd (MXdX)

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

MMMMEd (MXdX(E))

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

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 (y)

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

yM (y/M)

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

yMd (y/M/d)

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

yMEd (y/M/d(EEE))

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

yMMM (yXMX)

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

yMMMd (yXMXdX)

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

yMMMEd (yXMXdX(EEE))

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

yMMMM (yXMX)

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

yQ (y/Q)

   2008-02-05T18:30:30 = 2008/1
   1995-12-22T09:05:02 = 1995/4
  -0010-09-15T04:44:23 = -10/3

yQQQ (yQQQ)

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

yyMMM (yXMX)

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

yyQ (yy/Q)

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

yyyy (yX)

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

yyyyMM (yyyy/MM)

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

Miscellaneous

Prefers 24 hour time?

Yes

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