1DateTime::Locale::ja(3)User Contributed Perl DocumentatioDnateTime::Locale::ja(3)
2
3
4
6 DateTime::Locale::ja
7
9 use DateTime;
10
11 my $dt = DateTime->now( locale => 'ja' );
12 print $dt->month_name();
13
15 This is the DateTime locale package for Japanese.
16
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 XXX
26 XXX
27 XXX
28 XXX
29 XXX
30 XXX
31 XXX
32
33 Abbreviated (format)
34
35 X
36 X
37 X
38 X
39 X
40 X
41 X
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 XXX
56 XXX
57 XXX
58 XXX
59 XXX
60 XXX
61 XXX
62
63 Abbreviated (stand-alone)
64
65 X
66 X
67 X
68 X
69 X
70 X
71 X
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 1X
87 2X
88 3X
89 4X
90 5X
91 6X
92 7X
93 8X
94 9X
95 10X
96 11X
97 12X
98
99 Abbreviated (format)
100
101 1X
102 2X
103 3X
104 4X
105 5X
106 6X
107 7X
108 8X
109 9X
110 10X
111 11X
112 12X
113
114 Narrow (format)
115
116 1
117 2
118 3
119 4
120 5
121 6
122 7
123 8
124 9
125 10
126 11
127 12
128
129 Wide (stand-alone)
130
131 1X
132 2X
133 3X
134 4X
135 5X
136 6X
137 7X
138 8X
139 9X
140 10X
141 11X
142 12X
143
144 Abbreviated (stand-alone)
145
146 1X
147 2X
148 3X
149 4X
150 5X
151 6X
152 7X
153 8X
154 9X
155 10X
156 11X
157 12X
158
159 Narrow (stand-alone)
160
161 1
162 2
163 3
164 4
165 5
166 6
167 7
168 8
169 9
170 10
171 11
172 12
173
174 Quarters
175 Wide (format)
176
177 X1XXX
178 X2XXX
179 X3XXX
180 X4XXX
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 X1XXX
199 X2XXX
200 X3XXX
201 X4XXX
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 XXX
221 XX
222
223 Abbreviated
224
225 XXX
226 XX
227
228 Narrow
229
230 XXX
231 XX
232
233 Date Formats
234 Full
235
236 2008-02-05T18:30:30 = 2008X2X5XXXX
237 1995-12-22T09:05:02 = 1995X12X22XXXX
238 -0010-09-15T04:44:23 = -10X9X15XXXX
239
240 Long
241
242 2008-02-05T18:30:30 = 2008X2X5X
243 1995-12-22T09:05:02 = 1995X12X22X
244 -0010-09-15T04:44:23 = -10X9X15X
245
246 Medium
247
248 2008-02-05T18:30:30 = 2008/02/05
249 1995-12-22T09:05:02 = 1995/12/22
250 -0010-09-15T04:44:23 = -010/09/15
251
252 Short
253
254 2008-02-05T18:30:30 = 08/02/05
255 1995-12-22T09:05:02 = 95/12/22
256 -0010-09-15T04:44:23 = -10/09/15
257
258 Default
259
260 2008-02-05T18:30:30 = 2008/02/05
261 1995-12-22T09:05:02 = 1995/12/22
262 -0010-09-15T04:44:23 = -010/09/15
263
264 Time Formats
265 Full
266
267 2008-02-05T18:30:30 = 18X30X30X UTC
268 1995-12-22T09:05:02 = 9X05X02X UTC
269 -0010-09-15T04:44:23 = 4X44X23X UTC
270
271 Long
272
273 2008-02-05T18:30:30 = 18:30:30 UTC
274 1995-12-22T09:05:02 = 09:05:02 UTC
275 -0010-09-15T04:44:23 = 04:44:23 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 = 2008X2X5XXXX18X30X30X UTC
299 1995-12-22T09:05:02 = 1995X12X22XXXX9X05X02X UTC
300 -0010-09-15T04:44:23 = -10X9X15XXXX4X44X23X UTC
301
302 Long
303
304 2008-02-05T18:30:30 = 2008X2X5X18:30:30 UTC
305 1995-12-22T09:05:02 = 1995X12X22X09:05:02 UTC
306 -0010-09-15T04:44:23 = -10X9X15X04:44:23 UTC
307
308 Medium
309
310 2008-02-05T18:30:30 = 2008/02/0518:30:30
311 1995-12-22T09:05:02 = 1995/12/229:05:02
312 -0010-09-15T04:44:23 = -010/09/154:44:23
313
314 Short
315
316 2008-02-05T18:30:30 = 08/02/0518:30
317 1995-12-22T09:05:02 = 95/12/229:05
318 -0010-09-15T04:44:23 = -10/09/154:44
319
320 Default
321
322 2008-02-05T18:30:30 = 2008/02/0518:30:30
323 1995-12-22T09:05:02 = 1995/12/229:05:02
324 -0010-09-15T04:44:23 = -010/09/154:44:23
325
326 Available Formats
327 d (dX)
328
329 2008-02-05T18:30:30 = 5X
330 1995-12-22T09:05:02 = 22X
331 -0010-09-15T04:44:23 = 15X
332
333 Ed (dX(EEE))
334
335 2008-02-05T18:30:30 = 5X(X)
336 1995-12-22T09:05:02 = 22X(X)
337 -0010-09-15T04:44:23 = 15X(X)
338
339 EEEd (d EEE)
340
341 2008-02-05T18:30:30 = 5 X
342 1995-12-22T09:05:02 = 22 X
343 -0010-09-15T04:44:23 = 15 X
344
345 GGGGyMd (GGGGyXMXdX)
346
347 2008-02-05T18:30:30 = XX2008X2X5X
348 1995-12-22T09:05:02 = XX1995X12X22X
349 -0010-09-15T04:44:23 = XXX-10X9X15X
350
351 H (HX)
352
353 2008-02-05T18:30:30 = 18X
354 1995-12-22T09:05:02 = 9X
355 -0010-09-15T04:44:23 = 4X
356
357 Hm (H:mm)
358
359 2008-02-05T18:30:30 = 18:30
360 1995-12-22T09:05:02 = 9:05
361 -0010-09-15T04:44:23 = 4:44
362
363 hm (ah:mm)
364
365 2008-02-05T18:30:30 = XX6:30
366 1995-12-22T09:05:02 = XX9:05
367 -0010-09-15T04:44:23 = XX4:44
368
369 Hms (H:mm:ss)
370
371 2008-02-05T18:30:30 = 18:30:30
372 1995-12-22T09:05:02 = 9:05:02
373 -0010-09-15T04:44:23 = 4:44:23
374
375 hms (ah:mm:ss)
376
377 2008-02-05T18:30:30 = XX6:30:30
378 1995-12-22T09:05:02 = XX9:05:02
379 -0010-09-15T04:44:23 = XX4:44:23
380
381 M (L)
382
383 2008-02-05T18:30:30 = 2
384 1995-12-22T09:05:02 = 12
385 -0010-09-15T04:44:23 = 9
386
387 Md (M/d)
388
389 2008-02-05T18:30:30 = 2/5
390 1995-12-22T09:05:02 = 12/22
391 -0010-09-15T04:44:23 = 9/15
392
393 MEd (M/d(E))
394
395 2008-02-05T18:30:30 = 2/5(X)
396 1995-12-22T09:05:02 = 12/22(X)
397 -0010-09-15T04:44:23 = 9/15(X)
398
399 MMdd (MM/dd)
400
401 2008-02-05T18:30:30 = 02/05
402 1995-12-22T09:05:02 = 12/22
403 -0010-09-15T04:44:23 = 09/15
404
405 MMM (LLL)
406
407 2008-02-05T18:30:30 = 2X
408 1995-12-22T09:05:02 = 12X
409 -0010-09-15T04:44:23 = 9X
410
411 MMMd (MXdX)
412
413 2008-02-05T18:30:30 = 2X5X
414 1995-12-22T09:05:02 = 12X22X
415 -0010-09-15T04:44:23 = 9X15X
416
417 MMMEd (MXdX(E))
418
419 2008-02-05T18:30:30 = 2X5X(X)
420 1995-12-22T09:05:02 = 12X22X(X)
421 -0010-09-15T04:44:23 = 9X15X(X)
422
423 MMMMd (MXdX)
424
425 2008-02-05T18:30:30 = 2X5X
426 1995-12-22T09:05:02 = 12X22X
427 -0010-09-15T04:44:23 = 9X15X
428
429 MMMMEd (MXdX(E))
430
431 2008-02-05T18:30:30 = 2X5X(X)
432 1995-12-22T09:05:02 = 12X22X(X)
433 -0010-09-15T04:44:23 = 9X15X(X)
434
435 ms (mm:ss)
436
437 2008-02-05T18:30:30 = 30:30
438 1995-12-22T09:05:02 = 05:02
439 -0010-09-15T04:44:23 = 44:23
440
441 y (y)
442
443 2008-02-05T18:30:30 = 2008
444 1995-12-22T09:05:02 = 1995
445 -0010-09-15T04:44:23 = -10
446
447 yM (y/M)
448
449 2008-02-05T18:30:30 = 2008/2
450 1995-12-22T09:05:02 = 1995/12
451 -0010-09-15T04:44:23 = -10/9
452
453 yMd (y/M/d)
454
455 2008-02-05T18:30:30 = 2008/2/5
456 1995-12-22T09:05:02 = 1995/12/22
457 -0010-09-15T04:44:23 = -10/9/15
458
459 yMEd (y/M/d(EEE))
460
461 2008-02-05T18:30:30 = 2008/2/5(X)
462 1995-12-22T09:05:02 = 1995/12/22(X)
463 -0010-09-15T04:44:23 = -10/9/15(X)
464
465 yMMM (yXMX)
466
467 2008-02-05T18:30:30 = 2008X2X
468 1995-12-22T09:05:02 = 1995X12X
469 -0010-09-15T04:44:23 = -10X9X
470
471 yMMMd (yXMXdX)
472
473 2008-02-05T18:30:30 = 2008X2X5X
474 1995-12-22T09:05:02 = 1995X12X22X
475 -0010-09-15T04:44:23 = -10X9X15X
476
477 yMMMEd (yXMXdX(EEE))
478
479 2008-02-05T18:30:30 = 2008X2X5X(X)
480 1995-12-22T09:05:02 = 1995X12X22X(X)
481 -0010-09-15T04:44:23 = -10X9X15X(X)
482
483 yMMMM (yXMX)
484
485 2008-02-05T18:30:30 = 2008X2X
486 1995-12-22T09:05:02 = 1995X12X
487 -0010-09-15T04:44:23 = -10X9X
488
489 yQ (y/Q)
490
491 2008-02-05T18:30:30 = 2008/1
492 1995-12-22T09:05:02 = 1995/4
493 -0010-09-15T04:44:23 = -10/3
494
495 yQQQ (yQQQ)
496
497 2008-02-05T18:30:30 = 2008Q1
498 1995-12-22T09:05:02 = 1995Q4
499 -0010-09-15T04:44:23 = -10Q3
500
501 yyMMM (yXMX)
502
503 2008-02-05T18:30:30 = 2008X2X
504 1995-12-22T09:05:02 = 1995X12X
505 -0010-09-15T04:44:23 = -10X9X
506
507 yyQ (yy/Q)
508
509 2008-02-05T18:30:30 = 08/1
510 1995-12-22T09:05:02 = 95/4
511 -0010-09-15T04:44:23 = -10/3
512
513 yyyy (yX)
514
515 2008-02-05T18:30:30 = 2008X
516 1995-12-22T09:05:02 = 1995X
517 -0010-09-15T04:44:23 = -10X
518
519 yyyyMM (yyyy/MM)
520
521 2008-02-05T18:30:30 = 2008/02
522 1995-12-22T09:05:02 = 1995/12
523 -0010-09-15T04:44:23 = -010/09
524
525 Miscellaneous
526 Prefers 24 hour time?
527
528 Yes
529
530 Local first day of the week
531
532 XXX
533
535 See DateTime::Locale.
536
538 Dave Rolsky <autarch@urth.org>
539
541 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
542 free software; you can redistribute it and/or modify it under the same
543 terms as Perl itself.
544
545 This module was generated from data provided by the CLDR project, see
546 the LICENSE.cldr in this distribution for details on the CLDR data's
547 license.
548
549
550
551perl v5.12.3 2011-08-30 DateTime::Locale::ja(3)