SYNOPSIS

  use DateTime;

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

DESCRIPTION

This is the DateTime locale package for Thai.

DATA

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

It contains the following data.

Days

Wide (format)

XXXXXXXXX XXXXXXXXX XXXXXX XXXXXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXXXX

Abbreviated (format)

X. X. X. XX. X. X. XX.

Narrow (format)

X X X X X X X

Wide (stand-alone)

XXXXXXXXX XXXXXXXXX XXXXXX XXXXXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXXXX

Abbreviated (stand-alone)

X. X. X. XX. X. X. XX.

Narrow (stand-alone)

X X X X X X X

Months

Wide (format)

XXXXXX XXXXXXXXXX XXXXXX XXXXXX XXXXXXX XXXXXXXX XXXXXXX XXXXXXX XXXXXXX XXXXXX XXXXXXXXX XXXXXXX

Abbreviated (format)

X.X. X.X. XX.X. XX.X. X.X. XX.X. X.X. X.X. X.X. X.X. X.X. X.X.

Narrow (format)

X.X. X.X. XX.X. XX.X. X.X. XX.X. X.X. X.X. X.X. X.X. X.X. X.X.

Wide (stand-alone)

XXXXXX XXXXXXXXXX XXXXXX XXXXXX XXXXXXX XXXXXXXX XXXXXXX XXXXXXX XXXXXXX XXXXXX XXXXXXXXX XXXXXXX

Abbreviated (stand-alone)

X.X. X.X. XX.X. XX.X. X.X. XX.X. X.X. X.X. X.X. X.X. X.X. X.X.

Narrow (stand-alone)

X.X. X.X. XX.X. XX.X. X.X. XX.X. X.X. X.X. X.X. X.X. X.X. X.X.

Quarters

Wide (format)

XXXXXX 1 XXXXXX 2 XXXXXX 3 XXXXXX 4

Abbreviated (format)

Q1 Q2 Q3 Q4

Narrow (format)

1 2 3 4

Wide (stand-alone)

XXXXXX 1 XXXXXX 2 XXXXXX 3 XXXXXX 4

Abbreviated (stand-alone)

Q1 Q2 Q3 Q4

Narrow (stand-alone)

1 2 3 4

Eras

Wide

XXXXXXXXXXXXXXXXXX XXXXXXXXXXXX

Abbreviated

XXXXXX X.X. X.X.

Narrow

XXXXXX X.X. X.X.

Date Formats

Full

2008-02-05T18:30:30 = XXXXXXXXXXXX 5 XXXXXXXXXX X.X. 2008 1995-12-22T09:05:02 = XXXXXXXXXXX 22 XXXXXXX X.X. 1995 -0010-09-15T04:44:23 = XXXXXXXXXXX 15 XXXXXXX XXXXXX X.X. -10

Long

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

Medium

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

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

Default

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

Time Formats

Full

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

Long

2008-02-05T18:30:30 = 18 XXXXXX 30 XXXX 30 XXXXXX UTC 1995-12-22T09:05:02 = 9 XXXXXX 5 XXXX 02 XXXXXX UTC -0010-09-15T04:44:23 = 4 XXXXXX 44 XXXX 23 XXXXXX 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 = XXXXXXXXXXXX 5 XXXXXXXXXX X.X. 2008, 18 XXXXXX 30 XXXX 30 XXXXXX UTC 1995-12-22T09:05:02 = XXXXXXXXXXX 22 XXXXXXX X.X. 1995, 9 XXXXXX 5 XXXX 02 XXXXXX UTC -0010-09-15T04:44:23 = XXXXXXXXXXX 15 XXXXXXX XXXXXX X.X. -10, 4 XXXXXX 44 XXXX 23 XXXXXX UTC

Long

2008-02-05T18:30:30 = 5 XXXXXXXXXX 2008, 18 XXXXXX 30 XXXX 30 XXXXXX UTC 1995-12-22T09:05:02 = 22 XXXXXXX 1995, 9 XXXXXX 5 XXXX 02 XXXXXX UTC -0010-09-15T04:44:23 = 15 XXXXXXX -10, 4 XXXXXX 44 XXXX 23 XXXXXX UTC

Medium

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

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

Default

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

Available Formats

d (d)

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

EEEd (\s-1EEE\s0 d)

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

HHmm (HH:mm)

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

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 (h:mm a)

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

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 (h:mm:ss a)

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

M (L)

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

Md (d/M)

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

MEd (E, d/M)

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

\s-1MMM\s0 (\s-1LLL\s0)

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

MMMd (d \s-1MMM\s0)

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

MMMEd (E d \s-1MMM\s0)

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

MMMMd (d \s-1MMMM\s0)

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

MMMMEd (E d \s-1MMMM\s0)

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

mmss (mm:ss)

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

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 (M/yyyy)

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

yMEd (\s-1EEE\s0 d/M/yyyy)

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

yMMM (\s-1MMM\s0 y)

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

yMMMEd (\s-1EEE\s0 d \s-1MMM\s0 y)

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

yMMMM (\s-1MMMM\s0 y)

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

yQ (Q yyyy)

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

yQQQ (\s-1QQQ\s0 y)

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

yyQ (Q yy)

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

yyyyM (M/yyyy)

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

yyyyMMMM (\s-1MMMM\s0 y)

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

Miscellaneous

Prefers 24 hour time?

Yes

Local first day of the week

\s-1XXXXXXXXX\s0

SUPPORT

See DateTime::Locale.

AUTHOR

Dave Rolsky <[email protected]>

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 \s-1CLDR\s0 project, see the \s-1LICENSE\s0.cldr in this distribution for details on the \s-1CLDR\s0 data's license.