1DateTime::Locale::th(3)User Contributed Perl DocumentatioDnateTime::Locale::th(3)
2
3
4

NAME

6       DateTime::Locale::th
7

SYNOPSIS

9         use DateTime;
10
11         my $dt = DateTime->now( locale => 'th' );
12         print $dt->month_name();
13

DESCRIPTION

15       This is the DateTime locale package for Thai.
16

DATA

18       This locale inherits from the DateTime::Locale::root locale.
19
20       It contains the following data.
21
22   Days
23       Wide (format)
24
25         XXXXXXXXX
26         XXXXXXXXX
27         XXXXXX
28         XXXXXXXXXXX
29         XXXXXXXX
30         XXXXXXXX
31         XXXXXXXXXX
32
33       Abbreviated (format)
34
35         X.
36         X.
37         X.
38         XX.
39         X.
40         X.
41         XX.
42
43       Narrow (format)
44
45         X
46         X
47         X
48         X
49         X
50         X
51         X
52
53       Wide (stand-alone)
54
55         XXXXXXXXX
56         XXXXXXXXX
57         XXXXXX
58         XXXXXXXXXXX
59         XXXXXXXX
60         XXXXXXXX
61         XXXXXXXXXX
62
63       Abbreviated (stand-alone)
64
65         X.
66         X.
67         X.
68         XX.
69         X.
70         X.
71         XX.
72
73       Narrow (stand-alone)
74
75         X
76         X
77         X
78         X
79         X
80         X
81         X
82
83   Months
84       Wide (format)
85
86         XXXXXX
87         XXXXXXXXXX
88         XXXXXX
89         XXXXXX
90         XXXXXXX
91         XXXXXXXX
92         XXXXXXX
93         XXXXXXX
94         XXXXXXX
95         XXXXXX
96         XXXXXXXXX
97         XXXXXXX
98
99       Abbreviated (format)
100
101         X.X.
102         X.X.
103         XX.X.
104         XX.X.
105         X.X.
106         XX.X.
107         X.X.
108         X.X.
109         X.X.
110         X.X.
111         X.X.
112         X.X.
113
114       Narrow (format)
115
116         X.X.
117         X.X.
118         XX.X.
119         XX.X.
120         X.X.
121         XX.X.
122         X.X.
123         X.X.
124         X.X.
125         X.X.
126         X.X.
127         X.X.
128
129       Wide (stand-alone)
130
131         XXXXXX
132         XXXXXXXXXX
133         XXXXXX
134         XXXXXX
135         XXXXXXX
136         XXXXXXXX
137         XXXXXXX
138         XXXXXXX
139         XXXXXXX
140         XXXXXX
141         XXXXXXXXX
142         XXXXXXX
143
144       Abbreviated (stand-alone)
145
146         X.X.
147         X.X.
148         XX.X.
149         XX.X.
150         X.X.
151         XX.X.
152         X.X.
153         X.X.
154         X.X.
155         X.X.
156         X.X.
157         X.X.
158
159       Narrow (stand-alone)
160
161         X.X.
162         X.X.
163         XX.X.
164         XX.X.
165         X.X.
166         XX.X.
167         X.X.
168         X.X.
169         X.X.
170         X.X.
171         X.X.
172         X.X.
173
174   Quarters
175       Wide (format)
176
177         XXXXXX 1
178         XXXXXX 2
179         XXXXXX 3
180         XXXXXX 4
181
182       Abbreviated (format)
183
184         Q1
185         Q2
186         Q3
187         Q4
188
189       Narrow (format)
190
191         1
192         2
193         3
194         4
195
196       Wide (stand-alone)
197
198         XXXXXX 1
199         XXXXXX 2
200         XXXXXX 3
201         XXXXXX 4
202
203       Abbreviated (stand-alone)
204
205         Q1
206         Q2
207         Q3
208         Q4
209
210       Narrow (stand-alone)
211
212         1
213         2
214         3
215         4
216
217   Eras
218       Wide
219
220         XXXXXXXXXXXXXXXXXX
221         XXXXXXXXXXXX
222
223       Abbreviated
224
225         XXXXXX X.X.
226         X.X.
227
228       Narrow
229
230         XXXXXX X.X.
231         X.X.
232
233   Date Formats
234       Full
235
236          2008-02-05T18:30:30 = XXXXXXXXXXXX 5 XXXXXXXXXX X.X. 2008
237          1995-12-22T09:05:02 = XXXXXXXXXXX 22 XXXXXXX X.X. 1995
238         -0010-09-15T04:44:23 = XXXXXXXXXXX 15 XXXXXXX XXXXXX X.X. -10
239
240       Long
241
242          2008-02-05T18:30:30 = 5 XXXXXXXXXX 2008
243          1995-12-22T09:05:02 = 22 XXXXXXX 1995
244         -0010-09-15T04:44:23 = 15 XXXXXXX -10
245
246       Medium
247
248          2008-02-05T18:30:30 = 5 X.X. 2008
249          1995-12-22T09:05:02 = 22 X.X. 1995
250         -0010-09-15T04:44:23 = 15 X.X. -10
251
252       Short
253
254          2008-02-05T18:30:30 = 5/2/2008
255          1995-12-22T09:05:02 = 22/12/1995
256         -0010-09-15T04:44:23 = 15/9/-010
257
258       Default
259
260          2008-02-05T18:30:30 = 5 X.X. 2008
261          1995-12-22T09:05:02 = 22 X.X. 1995
262         -0010-09-15T04:44:23 = 15 X.X. -10
263
264   Time Formats
265       Full
266
267          2008-02-05T18:30:30 = 18 XXXXXX 30 XXXX 30 XXXXXX UTC
268          1995-12-22T09:05:02 = 9 XXXXXX 5 XXXX 02 XXXXXX UTC
269         -0010-09-15T04:44:23 = 4 XXXXXX 44 XXXX 23 XXXXXX UTC
270
271       Long
272
273          2008-02-05T18:30:30 = 18 XXXXXX 30 XXXX 30 XXXXXX UTC
274          1995-12-22T09:05:02 = 9 XXXXXX 5 XXXX 02 XXXXXX UTC
275         -0010-09-15T04:44:23 = 4 XXXXXX 44 XXXX 23 XXXXXX UTC
276
277       Medium
278
279          2008-02-05T18:30:30 = 18:30:30
280          1995-12-22T09:05:02 = 9:05:02
281         -0010-09-15T04:44:23 = 4:44:23
282
283       Short
284
285          2008-02-05T18:30:30 = 18:30
286          1995-12-22T09:05:02 = 9:05
287         -0010-09-15T04:44:23 = 4:44
288
289       Default
290
291          2008-02-05T18:30:30 = 18:30:30
292          1995-12-22T09:05:02 = 9:05:02
293         -0010-09-15T04:44:23 = 4:44:23
294
295   Datetime Formats
296       Full
297
298          2008-02-05T18:30:30 = XXXXXXXXXXXX 5 XXXXXXXXXX X.X. 2008, 18 XXXXXX 30 XXXX 30 XXXXXX UTC
299          1995-12-22T09:05:02 = XXXXXXXXXXX 22 XXXXXXX X.X. 1995, 9 XXXXXX 5 XXXX 02 XXXXXX UTC
300         -0010-09-15T04:44:23 = XXXXXXXXXXX 15 XXXXXXX XXXXXX X.X. -10, 4 XXXXXX 44 XXXX 23 XXXXXX UTC
301
302       Long
303
304          2008-02-05T18:30:30 = 5 XXXXXXXXXX 2008, 18 XXXXXX 30 XXXX 30 XXXXXX UTC
305          1995-12-22T09:05:02 = 22 XXXXXXX 1995, 9 XXXXXX 5 XXXX 02 XXXXXX UTC
306         -0010-09-15T04:44:23 = 15 XXXXXXX -10, 4 XXXXXX 44 XXXX 23 XXXXXX UTC
307
308       Medium
309
310          2008-02-05T18:30:30 = 5 X.X. 2008, 18:30:30
311          1995-12-22T09:05:02 = 22 X.X. 1995, 9:05:02
312         -0010-09-15T04:44:23 = 15 X.X. -10, 4:44:23
313
314       Short
315
316          2008-02-05T18:30:30 = 5/2/2008, 18:30
317          1995-12-22T09:05:02 = 22/12/1995, 9:05
318         -0010-09-15T04:44:23 = 15/9/-010, 4:44
319
320       Default
321
322          2008-02-05T18:30:30 = 5 X.X. 2008, 18:30:30
323          1995-12-22T09:05:02 = 22 X.X. 1995, 9:05:02
324         -0010-09-15T04:44:23 = 15 X.X. -10, 4:44:23
325
326   Available Formats
327       d (d)
328
329          2008-02-05T18:30:30 = 5
330          1995-12-22T09:05:02 = 22
331         -0010-09-15T04:44:23 = 15
332
333       EEEd (EEE d)
334
335          2008-02-05T18:30:30 = X. 5
336          1995-12-22T09:05:02 = X. 22
337         -0010-09-15T04:44:23 = X. 15
338
339       HHmm (HH:mm)
340
341          2008-02-05T18:30:30 = 18:30
342          1995-12-22T09:05:02 = 09:05
343         -0010-09-15T04:44:23 = 04:44
344
345       HHmmss (HH:mm:ss)
346
347          2008-02-05T18:30:30 = 18:30:30
348          1995-12-22T09:05:02 = 09:05:02
349         -0010-09-15T04:44:23 = 04:44:23
350
351       Hm (H:mm)
352
353          2008-02-05T18:30:30 = 18:30
354          1995-12-22T09:05:02 = 9:05
355         -0010-09-15T04:44:23 = 4:44
356
357       hm (h:mm a)
358
359          2008-02-05T18:30:30 = 6:30 XXXXXXXXXX
360          1995-12-22T09:05:02 = 9:05 XXXXXXXXXX
361         -0010-09-15T04:44:23 = 4:44 XXXXXXXXXX
362
363       Hms (H:mm:ss)
364
365          2008-02-05T18:30:30 = 18:30:30
366          1995-12-22T09:05:02 = 9:05:02
367         -0010-09-15T04:44:23 = 4:44:23
368
369       hms (h:mm:ss a)
370
371          2008-02-05T18:30:30 = 6:30:30 XXXXXXXXXX
372          1995-12-22T09:05:02 = 9:05:02 XXXXXXXXXX
373         -0010-09-15T04:44:23 = 4:44:23 XXXXXXXXXX
374
375       M (L)
376
377          2008-02-05T18:30:30 = 2
378          1995-12-22T09:05:02 = 12
379         -0010-09-15T04:44:23 = 9
380
381       Md (d/M)
382
383          2008-02-05T18:30:30 = 5/2
384          1995-12-22T09:05:02 = 22/12
385         -0010-09-15T04:44:23 = 15/9
386
387       MEd (E, d/M)
388
389          2008-02-05T18:30:30 = X., 5/2
390          1995-12-22T09:05:02 = X., 22/12
391         -0010-09-15T04:44:23 = X., 15/9
392
393       MMM (LLL)
394
395          2008-02-05T18:30:30 = X.X.
396          1995-12-22T09:05:02 = X.X.
397         -0010-09-15T04:44:23 = X.X.
398
399       MMMd (d MMM)
400
401          2008-02-05T18:30:30 = 5 X.X.
402          1995-12-22T09:05:02 = 22 X.X.
403         -0010-09-15T04:44:23 = 15 X.X.
404
405       MMMEd (E d MMM)
406
407          2008-02-05T18:30:30 = X. 5 X.X.
408          1995-12-22T09:05:02 = X. 22 X.X.
409         -0010-09-15T04:44:23 = X. 15 X.X.
410
411       MMMMd (d MMMM)
412
413          2008-02-05T18:30:30 = 5 XXXXXXXXXX
414          1995-12-22T09:05:02 = 22 XXXXXXX
415         -0010-09-15T04:44:23 = 15 XXXXXXX
416
417       MMMMEd (E d MMMM)
418
419          2008-02-05T18:30:30 = X. 5 XXXXXXXXXX
420          1995-12-22T09:05:02 = X. 22 XXXXXXX
421         -0010-09-15T04:44:23 = X. 15 XXXXXXX
422
423       mmss (mm:ss)
424
425          2008-02-05T18:30:30 = 30:30
426          1995-12-22T09:05:02 = 05:02
427         -0010-09-15T04:44:23 = 44:23
428
429       ms (mm:ss)
430
431          2008-02-05T18:30:30 = 30:30
432          1995-12-22T09:05:02 = 05:02
433         -0010-09-15T04:44:23 = 44:23
434
435       y (y)
436
437          2008-02-05T18:30:30 = 2008
438          1995-12-22T09:05:02 = 1995
439         -0010-09-15T04:44:23 = -10
440
441       yM (M/yyyy)
442
443          2008-02-05T18:30:30 = 2/2008
444          1995-12-22T09:05:02 = 12/1995
445         -0010-09-15T04:44:23 = 9/-010
446
447       yMEd (EEE d/M/yyyy)
448
449          2008-02-05T18:30:30 = X. 5/2/2008
450          1995-12-22T09:05:02 = X. 22/12/1995
451         -0010-09-15T04:44:23 = X. 15/9/-010
452
453       yMMM (MMM y)
454
455          2008-02-05T18:30:30 = X.X. 2008
456          1995-12-22T09:05:02 = X.X. 1995
457         -0010-09-15T04:44:23 = X.X. -10
458
459       yMMMEd (EEE d MMM y)
460
461          2008-02-05T18:30:30 = X. 5 X.X. 2008
462          1995-12-22T09:05:02 = X. 22 X.X. 1995
463         -0010-09-15T04:44:23 = X. 15 X.X. -10
464
465       yMMMM (MMMM y)
466
467          2008-02-05T18:30:30 = XXXXXXXXXX 2008
468          1995-12-22T09:05:02 = XXXXXXX 1995
469         -0010-09-15T04:44:23 = XXXXXXX -10
470
471       yQ (Q yyyy)
472
473          2008-02-05T18:30:30 = 1 2008
474          1995-12-22T09:05:02 = 4 1995
475         -0010-09-15T04:44:23 = 3 -010
476
477       yQQQ (QQQ y)
478
479          2008-02-05T18:30:30 = Q1 2008
480          1995-12-22T09:05:02 = Q4 1995
481         -0010-09-15T04:44:23 = Q3 -10
482
483       yyQ (Q yy)
484
485          2008-02-05T18:30:30 = 1 08
486          1995-12-22T09:05:02 = 4 95
487         -0010-09-15T04:44:23 = 3 -10
488
489       yyyyM (M/yyyy)
490
491          2008-02-05T18:30:30 = 2/2008
492          1995-12-22T09:05:02 = 12/1995
493         -0010-09-15T04:44:23 = 9/-010
494
495       yyyyMMMM (MMMM y)
496
497          2008-02-05T18:30:30 = XXXXXXXXXX 2008
498          1995-12-22T09:05:02 = XXXXXXX 1995
499         -0010-09-15T04:44:23 = XXXXXXX -10
500
501   Miscellaneous
502       Prefers 24 hour time?
503
504       Yes
505
506       Local first day of the week
507
508       XXXXXXXXX
509

SUPPORT

511       See DateTime::Locale.
512

AUTHOR

514       Dave Rolsky <autarch@urth.org>
515
517       Copyright (c) 2008 David Rolsky. All rights reserved. This program is
518       free software; you can redistribute it and/or modify it under the same
519       terms as Perl itself.
520
521       This module was generated from data provided by the CLDR project, see
522       the LICENSE.cldr in this distribution for details on the CLDR data's
523       license.
524
525
526
527perl v5.12.3                      2011-08-30           DateTime::Locale::th(3)
Impressum