1 ###########################################################################
3 # This file is auto-generated by the Perl DateTime Suite locale
4 # generator (0.05). This code generator comes with the
5 # DateTime::Locale distribution in the tools/ directory, and is called
8 # This file as generated from the CLDR XML locale data. See the
9 # LICENSE.cldr file included in this distribution for license details.
11 # This file was generated from the source file th_TH.xml
12 # The source file version number was 1.49, generated on
13 # 2009/05/05 23:06:41.
15 # Do not edit this file directly.
17 ###########################################################################
19 package DateTime::Locale::th_TH;
25 use base 'DateTime::Locale::th';
27 sub cldr_version { return "1\.7\.1" }
30 my $first_day_of_week = "7";
31 sub first_day_of_week { return $first_day_of_week }
45 DateTime::Locale::th_TH
51 my $dt = DateTime->now( locale => 'th_TH' );
52 print $dt->month_name();
56 This is the DateTime locale package for Thai Thailand.
60 This locale inherits from the L<DateTime::Locale::th> locale.
62 It contains the following data.
76 =head3 Abbreviated (format)
86 =head3 Narrow (format)
96 =head3 Wide (stand-alone)
106 =head3 Abbreviated (stand-alone)
116 =head3 Narrow (stand-alone)
143 =head3 Abbreviated (format)
158 =head3 Narrow (format)
173 =head3 Wide (stand-alone)
188 =head3 Abbreviated (stand-alone)
203 =head3 Narrow (stand-alone)
227 =head3 Abbreviated (format)
234 =head3 Narrow (format)
241 =head3 Wide (stand-alone)
248 =head3 Abbreviated (stand-alone)
255 =head3 Narrow (stand-alone)
283 2008-02-05T18:30:30 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008
284 1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995
285 -0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10
289 2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008
290 1995-12-22T09:05:02 = 22 ธันวาคม 1995
291 -0010-09-15T04:44:23 = 15 กันยายน -10
295 2008-02-05T18:30:30 = 5 ก.พ. 2008
296 1995-12-22T09:05:02 = 22 ธ.ค. 1995
297 -0010-09-15T04:44:23 = 15 ก.ย. -10
301 2008-02-05T18:30:30 = 5/2/2008
302 1995-12-22T09:05:02 = 22/12/1995
303 -0010-09-15T04:44:23 = 15/9/-010
307 2008-02-05T18:30:30 = 5 ก.พ. 2008
308 1995-12-22T09:05:02 = 22 ธ.ค. 1995
309 -0010-09-15T04:44:23 = 15 ก.ย. -10
315 2008-02-05T18:30:30 = 18 นาฬิกา 30 นาที 30 วินาที UTC
316 1995-12-22T09:05:02 = 9 นาฬิกา 5 นาที 02 วินาที UTC
317 -0010-09-15T04:44:23 = 4 นาฬิกา 44 นาที 23 วินาที UTC
321 2008-02-05T18:30:30 = 18 นาฬิกา 30 นาที 30 วินาที UTC
322 1995-12-22T09:05:02 = 9 นาฬิกา 5 นาที 02 วินาที UTC
323 -0010-09-15T04:44:23 = 4 นาฬิกา 44 นาที 23 วินาที UTC
327 2008-02-05T18:30:30 = 18:30:30
328 1995-12-22T09:05:02 = 9:05:02
329 -0010-09-15T04:44:23 = 4:44:23
333 2008-02-05T18:30:30 = 18:30
334 1995-12-22T09:05:02 = 9:05
335 -0010-09-15T04:44:23 = 4:44
339 2008-02-05T18:30:30 = 18:30:30
340 1995-12-22T09:05:02 = 9:05:02
341 -0010-09-15T04:44:23 = 4:44:23
343 =head2 Datetime Formats
347 2008-02-05T18:30:30 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC
348 1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC
349 -0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
353 2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC
354 1995-12-22T09:05:02 = 22 ธันวาคม 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC
355 -0010-09-15T04:44:23 = 15 กันยายน -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
359 2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30
360 1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02
361 -0010-09-15T04:44:23 = 15 ก.ย. -10, 4:44:23
365 2008-02-05T18:30:30 = 5/2/2008, 18:30
366 1995-12-22T09:05:02 = 22/12/1995, 9:05
367 -0010-09-15T04:44:23 = 15/9/-010, 4:44
371 2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30
372 1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02
373 -0010-09-15T04:44:23 = 15 ก.ย. -10, 4:44:23
375 =head2 Available Formats
379 2008-02-05T18:30:30 = อ. 5
380 1995-12-22T09:05:02 = ศ. 22
381 -0010-09-15T04:44:23 = ส. 15
385 2008-02-05T18:30:30 = 18:30
386 1995-12-22T09:05:02 = 09:05
387 -0010-09-15T04:44:23 = 04:44
389 =head3 HHmmss (HH:mm:ss)
391 2008-02-05T18:30:30 = 18:30:30
392 1995-12-22T09:05:02 = 09:05:02
393 -0010-09-15T04:44:23 = 04:44:23
397 2008-02-05T18:30:30 = 18:30
398 1995-12-22T09:05:02 = 9:05
399 -0010-09-15T04:44:23 = 4:44
403 2008-02-05T18:30:30 = 18:30:30
404 1995-12-22T09:05:02 = 9:05:02
405 -0010-09-15T04:44:23 = 4:44:23
409 2008-02-05T18:30:30 = 2
410 1995-12-22T09:05:02 = 12
411 -0010-09-15T04:44:23 = 9
415 2008-02-05T18:30:30 = อ., 5/2
416 1995-12-22T09:05:02 = ศ., 22/12
417 -0010-09-15T04:44:23 = ส., 15/9
421 2008-02-05T18:30:30 = ก.พ.
422 1995-12-22T09:05:02 = ธ.ค.
423 -0010-09-15T04:44:23 = ก.ย.
425 =head3 MMMEd (E d MMM)
427 2008-02-05T18:30:30 = อ. 5 ก.พ.
428 1995-12-22T09:05:02 = ศ. 22 ธ.ค.
429 -0010-09-15T04:44:23 = ส. 15 ก.ย.
431 =head3 MMMMEd (E d MMMM)
433 2008-02-05T18:30:30 = อ. 5 กุมภาพันธ์
434 1995-12-22T09:05:02 = ศ. 22 ธันวาคม
435 -0010-09-15T04:44:23 = ส. 15 กันยายน
437 =head3 MMMMd (d MMMM)
439 2008-02-05T18:30:30 = 5 กุมภาพันธ์
440 1995-12-22T09:05:02 = 22 ธันวาคม
441 -0010-09-15T04:44:23 = 15 กันยายน
445 2008-02-05T18:30:30 = 5 ก.พ.
446 1995-12-22T09:05:02 = 22 ธ.ค.
447 -0010-09-15T04:44:23 = 15 ก.ย.
451 2008-02-05T18:30:30 = 5/2
452 1995-12-22T09:05:02 = 22/12
453 -0010-09-15T04:44:23 = 15/9
457 2008-02-05T18:30:30 = 5
458 1995-12-22T09:05:02 = 22
459 -0010-09-15T04:44:23 = 15
463 2008-02-05T18:30:30 = 6:30 หลังเที่ยง
464 1995-12-22T09:05:02 = 9:05 ก่อนเที่ยง
465 -0010-09-15T04:44:23 = 4:44 ก่อนเที่ยง
467 =head3 hms (h:mm:ss a)
469 2008-02-05T18:30:30 = 6:30:30 หลังเที่ยง
470 1995-12-22T09:05:02 = 9:05:02 ก่อนเที่ยง
471 -0010-09-15T04:44:23 = 4:44:23 ก่อนเที่ยง
475 2008-02-05T18:30:30 = 30:30
476 1995-12-22T09:05:02 = 05:02
477 -0010-09-15T04:44:23 = 44:23
481 2008-02-05T18:30:30 = 30:30
482 1995-12-22T09:05:02 = 05:02
483 -0010-09-15T04:44:23 = 44:23
487 2008-02-05T18:30:30 = 2008
488 1995-12-22T09:05:02 = 1995
489 -0010-09-15T04:44:23 = -10
493 2008-02-05T18:30:30 = 2/2008
494 1995-12-22T09:05:02 = 12/1995
495 -0010-09-15T04:44:23 = 9/-010
497 =head3 yMEd (EEE d/M/yyyy)
499 2008-02-05T18:30:30 = อ. 5/2/2008
500 1995-12-22T09:05:02 = ศ. 22/12/1995
501 -0010-09-15T04:44:23 = ส. 15/9/-010
505 2008-02-05T18:30:30 = ก.พ. 2008
506 1995-12-22T09:05:02 = ธ.ค. 1995
507 -0010-09-15T04:44:23 = ก.ย. -10
509 =head3 yMMMEd (EEE d MMM y)
511 2008-02-05T18:30:30 = อ. 5 ก.พ. 2008
512 1995-12-22T09:05:02 = ศ. 22 ธ.ค. 1995
513 -0010-09-15T04:44:23 = ส. 15 ก.ย. -10
515 =head3 yMMMM (MMMM y)
517 2008-02-05T18:30:30 = กุมภาพันธ์ 2008
518 1995-12-22T09:05:02 = ธันวาคม 1995
519 -0010-09-15T04:44:23 = กันยายน -10
523 2008-02-05T18:30:30 = 1 2008
524 1995-12-22T09:05:02 = 4 1995
525 -0010-09-15T04:44:23 = 3 -010
529 2008-02-05T18:30:30 = Q1 2008
530 1995-12-22T09:05:02 = Q4 1995
531 -0010-09-15T04:44:23 = Q3 -10
535 2008-02-05T18:30:30 = 1 08
536 1995-12-22T09:05:02 = 4 95
537 -0010-09-15T04:44:23 = 3 10
539 =head3 yyyyM (M/yyyy)
541 2008-02-05T18:30:30 = 2/2008
542 1995-12-22T09:05:02 = 12/1995
543 -0010-09-15T04:44:23 = 9/-010
545 =head3 yyyyMMMM (MMMM y)
547 2008-02-05T18:30:30 = กุมภาพันธ์ 2008
548 1995-12-22T09:05:02 = ธันวาคม 1995
549 -0010-09-15T04:44:23 = กันยายน -10
553 =head3 Prefers 24 hour time?
557 =head3 Local first day of the week
564 See L<DateTime::Locale>.
568 Dave Rolsky <autarch@urth.org>
572 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
573 free software; you can redistribute it and/or modify it under the same
574 terms as Perl itself.
576 This module was generated from data provided by the CLDR project, see
577 the LICENSE.cldr in this distribution for details on the CLDR data's