ja_JP.pm   [plain text]


###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05).  This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated from the CLDR XML locale data.  See the
# LICENSE.cldr file included in this distribution for license details.
#
# This file was generated from the source file ja_JP.xml
# The source file version number was 1.47, generated on
# 2009/05/05 23:06:37.
#
# Do not edit this file directly.
#
###########################################################################

package DateTime::Locale::ja_JP;

use strict;
use warnings;
use utf8;

use base 'DateTime::Locale::ja';

sub cldr_version { return "1\.7\.1" }

{
    my $first_day_of_week = "7";
    sub first_day_of_week { return $first_day_of_week }
}

{
    my $glibc_date_format = "\%Y年\%m月\%d日";
    sub glibc_date_format { return $glibc_date_format }
}

{
    my $glibc_date_1_format = "\%Y年\ \%b\ \%e日\ \%A\ \%H\:\%M\:\%S\ \%Z";
    sub glibc_date_1_format { return $glibc_date_1_format }
}

{
    my $glibc_datetime_format = "\%Y年\%m月\%d日\ \%H時\%M分\%S秒";
    sub glibc_datetime_format { return $glibc_datetime_format }
}

{
    my $glibc_time_format = "\%H時\%M分\%S秒";
    sub glibc_time_format { return $glibc_time_format }
}

{
    my $glibc_time_12_format = "\%p\%I時\%M分\%S秒";
    sub glibc_time_12_format { return $glibc_time_12_format }
}

1;

__END__


=pod

=encoding utf8

=head1 NAME

DateTime::Locale::ja_JP

=head1 SYNOPSIS

  use DateTime;

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

=head1 DESCRIPTION

This is the DateTime locale package for Japanese Japan.

=head1 DATA

This locale inherits from the L<DateTime::Locale::ja> locale.

It contains the following data.

=head2 Days

=head3 Wide (format)

  月曜日
  火曜日
  水曜日
  木曜日
  金曜日
  土曜日
  日曜日

=head3 Abbreviated (format)

  月
  火
  水
  木
  金
  土
  日

=head3 Narrow (format)

  月
  火
  水
  木
  金
  土
  日

=head3 Wide (stand-alone)

  月曜日
  火曜日
  水曜日
  木曜日
  金曜日
  土曜日
  日曜日

=head3 Abbreviated (stand-alone)

  月
  火
  水
  木
  金
  土
  日

=head3 Narrow (stand-alone)

  月
  火
  水
  木
  金
  土
  日

=head2 Months

=head3 Wide (format)

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

=head3 Abbreviated (format)

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

=head3 Narrow (format)

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

=head3 Wide (stand-alone)

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

=head3 Abbreviated (stand-alone)

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

=head3 Narrow (stand-alone)

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

=head2 Quarters

=head3 Wide (format)

  第1四半期
  第2四半期
  第3四半期
  第4四半期

=head3 Abbreviated (format)

  Q1
  Q2
  Q3
  Q4

=head3 Narrow (format)

  1
  2
  3
  4

=head3 Wide (stand-alone)

  第1四半期
  第2四半期
  第3四半期
  第4四半期

=head3 Abbreviated (stand-alone)

  Q1
  Q2
  Q3
  Q4

=head3 Narrow (stand-alone)

  1
  2
  3
  4

=head2 Eras

=head3 Wide

  紀元前
  西暦

=head3 Abbreviated

  紀元前
  西暦

=head3 Narrow

  紀元前
  西暦

=head2 Date Formats

=head3 Full

   2008-02-05T18:30:30 = 2008年2月5日火曜日
   1995-12-22T09:05:02 = 1995年12月22日金曜日
  -0010-09-15T04:44:23 = -10年9月15日土曜日

=head3 Long

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

=head3 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

=head3 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

=head3 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

=head2 Time Formats

=head3 Full

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

=head3 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

=head3 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

=head3 Short

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

=head3 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

=head2 Datetime Formats

=head3 Full

   2008-02-05T18:30:30 = 2008年2月5日火曜日18時30分30秒 UTC
   1995-12-22T09:05:02 = 1995年12月22日金曜日9時05分02秒 UTC
  -0010-09-15T04:44:23 = -10年9月15日土曜日4時44分23秒 UTC

=head3 Long

   2008-02-05T18:30:30 = 2008年2月5日18:30:30 UTC
   1995-12-22T09:05:02 = 1995年12月22日09:05:02 UTC
  -0010-09-15T04:44:23 = -10年9月15日04:44:23 UTC

=head3 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

=head3 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

=head3 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

=head2 Available Formats

=head3 d (d日)

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

=head3 Ed (d日(EEE))

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

=head3 EEEd (d EEE)

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

=head3 GGGGyMd (GGGGy年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日

=head3 H (H時)

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

=head3 Hm (H:mm)

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

=head3 hm (ah:mm)

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

=head3 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

=head3 hms (ah:mm:ss)

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

=head3 M (L)

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

=head3 Md (M/d)

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

=head3 MEd (M/d(E))

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

=head3 MMdd (MM/dd)

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

=head3 MMM (LLL)

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

=head3 MMMd (M月d日)

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

=head3 MMMEd (M月d日(E))

   2008-02-05T18:30:30 = 2月5日(火)
   1995-12-22T09:05:02 = 12月22日(金)
  -0010-09-15T04:44:23 = 9月15日(土)

=head3 MMMMd (M月d日)

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

=head3 MMMMEd (M月d日(E))

   2008-02-05T18:30:30 = 2月5日(火)
   1995-12-22T09:05:02 = 12月22日(金)
  -0010-09-15T04:44:23 = 9月15日(土)

=head3 ms (mm:ss)

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

=head3 y (y)

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

=head3 yM (y/M)

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

=head3 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

=head3 yMEd (y/M/d(EEE))

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

=head3 yMMM (y年M月)

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

=head3 yMMMd (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日

=head3 yMMMEd (y年M月d日(EEE))

   2008-02-05T18:30:30 = 2008年2月5日(火)
   1995-12-22T09:05:02 = 1995年12月22日(金)
  -0010-09-15T04:44:23 = -10年9月15日(土)

=head3 yMMMM (y年M月)

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

=head3 yQ (y/Q)

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

=head3 yQQQ (yQQQ)

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

=head3 yyMMM (y年M月)

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

=head3 yyQ (yy/Q)

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

=head3 yyyy (y年)

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

=head3 yyyyMM (yyyy/MM)

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

=head2 Miscellaneous

=head3 Prefers 24 hour time?

Yes

=head3 Local first day of the week

日曜日


=head1 SUPPORT

See L<DateTime::Locale>.

=head1 AUTHOR

Dave Rolsky <autarch@urth.org>

=head1 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.

=cut