###########################################################################
#
# 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 th_TH.xml
# The source file version number was 1.49, generated on
# 2009/05/05 23:06:41.
#
# Do not edit this file directly.
#
###########################################################################
package DateTime::Locale::th_TH;
use strict;
use warnings;
our $VERSION = '0.92';
use utf8;
use base 'DateTime::Locale::th';
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 = "\%d\/\%m\/\%Ey";
sub glibc_date_format { return $glibc_date_format }
}
{
my $glibc_date_1_format = "\%a\ \%e\ \%b\ \%Ey\ \%H\:\%M\:\%S\ \%Z";
sub glibc_date_1_format { return $glibc_date_1_format }
}
{
my $glibc_datetime_format = "\%a\ \%e\ \%b\ \%Ey\,\ \%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 = "\%I\:\%M\:\%S\ \%p";
sub glibc_time_12_format { return $glibc_time_12_format }
}
1;
__END__
=pod
=encoding utf8
=head1 NAME
DateTime::Locale::th_TH
=head1 SYNOPSIS
use DateTime;
my $dt = DateTime->now( locale => 'th_TH' );
print $dt->month_name();
=head1 DESCRIPTION
This is the DateTime locale package for Thai Thailand.
=head1 DATA
This locale inherits from the L<DateTime::Locale::th> 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)
มกราคม
กุมภาพันธ์
มีนาคม
เมษายน
พฤษภาคม
มิถุนายน
กรกฎาคม
สิงหาคม
กันยายน
ตุลาคม
พฤศจิกายน
ธันวาคม
=head3 Abbreviated (format)
ม.ค.
ก.พ.
มี.ค.
เม.ย.
พ.ค.
มิ.ย.
ก.ค.
ส.ค.
ก.ย.
ต.ค.
พ.ย.
ธ.ค.
=head3 Narrow (format)
ม.ค.
ก.พ.
มี.ค.
เม.ย.
พ.ค.
มิ.ย.
ก.ค.
ส.ค.
ก.ย.
ต.ค.
พ.ย.
ธ.ค.
=head3 Wide (stand-alone)
มกราคม
กุมภาพันธ์
มีนาคม
เมษายน
พฤษภาคม
มิถุนายน
กรกฎาคม
สิงหาคม
กันยายน
ตุลาคม
พฤศจิกายน
ธันวาคม
=head3 Abbreviated (stand-alone)
ม.ค.
ก.พ.
มี.ค.
เม.ย.
พ.ค.
มิ.ย.
ก.ค.
ส.ค.
ก.ย.
ต.ค.
พ.ย.
ธ.ค.
=head3 Narrow (stand-alone)
ม.ค.
ก.พ.
มี.ค.
เม.ย.
พ.ค.
มิ.ย.
ก.ค.
ส.ค.
ก.ย.
ต.ค.
พ.ย.
ธ.ค.
=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 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008
1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995
-0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10
=head3 Long
2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008
1995-12-22T09:05:02 = 22 ธันวาคม 1995
-0010-09-15T04:44:23 = 15 กันยายน -10
=head3 Medium
2008-02-05T18:30:30 = 5 ก.พ. 2008
1995-12-22T09:05:02 = 22 ธ.ค. 1995
-0010-09-15T04:44:23 = 15 ก.ย. -10
=head3 Short
2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-010
=head3 Default
2008-02-05T18:30:30 = 5 ก.พ. 2008
1995-12-22T09:05:02 = 22 ธ.ค. 1995
-0010-09-15T04:44:23 = 15 ก.ย. -10
=head2 Time Formats
=head3 Full
2008-02-05T18:30:30 = 18 นาฬิกา 30 นาที 30 วินาที UTC
1995-12-22T09:05:02 = 9 นาฬิกา 5 นาที 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 = 9 นาฬิกา 5 นาที 02 วินาที UTC
-0010-09-15T04:44:23 = 4 นาฬิกา 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 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC
1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC
-0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
=head3 Long
2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC
1995-12-22T09:05:02 = 22 ธันวาคม 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC
-0010-09-15T04:44:23 = 15 กันยายน -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
=head3 Medium
2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30
1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02
-0010-09-15T04:44:23 = 15 ก.ย. -10, 4:44:23
=head3 Short
2008-02-05T18:30:30 = 5/2/2008, 18:30
1995-12-22T09:05:02 = 22/12/1995, 9:05
-0010-09-15T04:44:23 = 15/9/-010, 4:44
=head3 Default
2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30
1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02
-0010-09-15T04:44:23 = 15 ก.ย. -10, 4: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 EEEd (EEE d)
2008-02-05T18:30:30 = อ. 5
1995-12-22T09:05:02 = ศ. 22
-0010-09-15T04:44:23 = ส. 15
=head3 HHmm (HH:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
=head3 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
=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 (h:mm a)
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 (h:mm:ss a)
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 (d/M)
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
=head3 MEd (E, d/M)
2008-02-05T18:30:30 = อ., 5/2
1995-12-22T09:05:02 = ศ., 22/12
-0010-09-15T04:44:23 = ส., 15/9
=head3 MMM (LLL)
2008-02-05T18:30:30 = ก.พ.
1995-12-22T09:05:02 = ธ.ค.
-0010-09-15T04:44:23 = ก.ย.
=head3 MMMd (d MMM)
2008-02-05T18:30:30 = 5 ก.พ.
1995-12-22T09:05:02 = 22 ธ.ค.
-0010-09-15T04:44:23 = 15 ก.ย.
=head3 MMMEd (E d MMM)
2008-02-05T18:30:30 = อ. 5 ก.พ.
1995-12-22T09:05:02 = ศ. 22 ธ.ค.
-0010-09-15T04:44:23 = ส. 15 ก.ย.
=head3 MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 กุมภาพันธ์
1995-12-22T09:05:02 = 22 ธันวาคม
-0010-09-15T04:44:23 = 15 กันยายน
=head3 MMMMEd (E d MMMM)
2008-02-05T18:30:30 = อ. 5 กุมภาพันธ์
1995-12-22T09:05:02 = ศ. 22 ธันวาคม
-0010-09-15T04:44:23 = ส. 15 กันยายน
=head3 mmss (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
=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 (M/yyyy)
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-010
=head3 yMEd (EEE d/M/yyyy)
2008-02-05T18:30:30 = อ. 5/2/2008
1995-12-22T09:05:02 = ศ. 22/12/1995
-0010-09-15T04:44:23 = ส. 15/9/-010
=head3 yMMM (MMM y)
2008-02-05T18:30:30 = ก.พ. 2008
1995-12-22T09:05:02 = ธ.ค. 1995
-0010-09-15T04:44:23 = ก.ย. -10
=head3 yMMMEd (EEE d MMM y)
2008-02-05T18:30:30 = อ. 5 ก.พ. 2008
1995-12-22T09:05:02 = ศ. 22 ธ.ค. 1995
-0010-09-15T04:44:23 = ส. 15 ก.ย. -10
=head3 yMMMM (MMMM y)
2008-02-05T18:30:30 = กุมภาพันธ์ 2008
1995-12-22T09:05:02 = ธันวาคม 1995
-0010-09-15T04:44:23 = กันยายน -10
=head3 yQ (Q yyyy)
2008-02-05T18:30:30 = 1 2008
1995-12-22T09:05:02 = 4 1995
-0010-09-15T04:44:23 = 3 -010
=head3 yQQQ (QQQ y)
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
=head3 yyQ (Q yy)
2008-02-05T18:30:30 = 1 08
1995-12-22T09:05:02 = 4 95
-0010-09-15T04:44:23 = 3 -10
=head3 yyyyM (M/yyyy)
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-010
=head3 yyyyMMMM (MMMM y)
2008-02-05T18:30:30 = กุมภาพันธ์ 2008
1995-12-22T09:05:02 = ธันวาคม 1995
-0010-09-15T04:44:23 = กันยายน -10
=head2 Miscellaneous
=head3 Prefers 24 hour time?
Yes
=head3 Local first day of the week
วันอาทิตย์
=head1 SUPPORT
See L<DateTime::Locale>.
=cut