1DateTime::Locale::sr(3)User Contributed Perl DocumentatioDnateTime::Locale::sr(3)
2
3
4
6 DateTime::Locale::sr
7
9 use DateTime;
10
11 my $dt = DateTime->now( locale => 'sr' );
12 print $dt->month_name();
13
15 This is the DateTime locale package for Serbian.
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 XXXXXXXXX
26 XXXXXX
27 XXXXX
28 XXXXXXXX
29 XXXXX
30 XXXXXX
31 XXXXXX
32
33 Abbreviated (format)
34
35 XXX
36 XXX
37 XXX
38 XXX
39 XXX
40 XXX
41 XXX
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 XXXXXX
57 XXXXX
58 XXXXXXXX
59 XXXXX
60 XXXXXX
61 XXXXXX
62
63 Abbreviated (stand-alone)
64
65 XXX
66 XXX
67 XXX
68 XXX
69 XXX
70 XXX
71 XXX
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 XXXXXXX
88 XXXX
89 XXXXX
90 XXX
91 XXX
92 XXX
93 XXXXXX
94 XXXXXXXXX
95 XXXXXXX
96 XXXXXXXX
97 XXXXXXXX
98
99 Abbreviated (format)
100
101 XXX
102 XXX
103 XXX
104 XXX
105 XXX
106 XXX
107 XXX
108 XXX
109 XXX
110 XXX
111 XXX
112 XXX
113
114 Narrow (format)
115
116 X
117 X
118 X
119 X
120 X
121 X
122 X
123 X
124 X
125 X
126 X
127 X
128
129 Wide (stand-alone)
130
131 XXXXXX
132 XXXXXXX
133 XXXX
134 XXXXX
135 XXX
136 XXX
137 XXX
138 XXXXXX
139 XXXXXXXXX
140 XXXXXXX
141 XXXXXXXX
142 XXXXXXXX
143
144 Abbreviated (stand-alone)
145
146 XXX
147 XXX
148 XXX
149 XXX
150 XXX
151 XXX
152 XXX
153 XXX
154 XXX
155 XXX
156 XXX
157 XXX
158
159 Narrow (stand-alone)
160
161 X
162 X
163 X
164 X
165 X
166 X
167 X
168 X
169 X
170 X
171 X
172 X
173
174 Quarters
175 Wide (format)
176
177 XXXX XXXXXXXXXX
178 XXXXX XXXXXXXXXX
179 XXXXX XXXXXXXXXX
180 XXXXXXX XXXXXXXXXX
181
182 Abbreviated (format)
183
184 X1
185 X2
186 X3
187 X4
188
189 Narrow (format)
190
191 1
192 2
193 3
194 4
195
196 Wide (stand-alone)
197
198 XXXX XXXXXXXXXX
199 XXXXX XXXXXXXXXX
200 XXXXX XXXXXXXXXX
201 XXXXXXX XXXXXXXXXX
202
203 Abbreviated (stand-alone)
204
205 X1
206 X2
207 X3
208 X4
209
210 Narrow (stand-alone)
211
212 1
213 2
214 3
215 4
216
217 Eras
218 Wide
219
220 XXX XXXX XXX
221 XXXX XXX
222
223 Abbreviated
224
225 X. X. X.
226 X. X
227
228 Narrow
229
230 X.X.X.
231 X.X.
232
233 Date Formats
234 Full
235
236 2008-02-05T18:30:30 = XXXXXX, 05. XXXXXXX 2008.
237 1995-12-22T09:05:02 = XXXXX, 22. XXXXXXXX 1995.
238 -0010-09-15T04:44:23 = XXXXXX, 15. XXXXXXXXX -10.
239
240 Long
241
242 2008-02-05T18:30:30 = 05. XXXXXXX 2008.
243 1995-12-22T09:05:02 = 22. XXXXXXXX 1995.
244 -0010-09-15T04:44:23 = 15. XXXXXXXXX -10.
245
246 Medium
247
248 2008-02-05T18:30:30 = 05.02.2008.
249 1995-12-22T09:05:02 = 22.12.1995.
250 -0010-09-15T04:44:23 = 15.09.-10.
251
252 Short
253
254 2008-02-05T18:30:30 = 5.2.08.
255 1995-12-22T09:05:02 = 22.12.95.
256 -0010-09-15T04:44:23 = 15.9.10.
257
258 Default
259
260 2008-02-05T18:30:30 = 05.02.2008.
261 1995-12-22T09:05:02 = 22.12.1995.
262 -0010-09-15T04:44:23 = 15.09.-10.
263
264 Time Formats
265 Full
266
267 2008-02-05T18:30:30 = 18.30.30 UTC
268 1995-12-22T09:05:02 = 09.05.02 UTC
269 -0010-09-15T04:44:23 = 04.44.23 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 = 09.05.02
281 -0010-09-15T04:44:23 = 04.44.23
282
283 Short
284
285 2008-02-05T18:30:30 = 18.30
286 1995-12-22T09:05:02 = 09.05
287 -0010-09-15T04:44:23 = 04.44
288
289 Default
290
291 2008-02-05T18:30:30 = 18.30.30
292 1995-12-22T09:05:02 = 09.05.02
293 -0010-09-15T04:44:23 = 04.44.23
294
295 Datetime Formats
296 Full
297
298 2008-02-05T18:30:30 = XXXXXX, 05. XXXXXXX 2008. 18.30.30 UTC
299 1995-12-22T09:05:02 = XXXXX, 22. XXXXXXXX 1995. 09.05.02 UTC
300 -0010-09-15T04:44:23 = XXXXXX, 15. XXXXXXXXX -10. 04.44.23 UTC
301
302 Long
303
304 2008-02-05T18:30:30 = 05. XXXXXXX 2008. 18.30.30 UTC
305 1995-12-22T09:05:02 = 22. XXXXXXXX 1995. 09.05.02 UTC
306 -0010-09-15T04:44:23 = 15. XXXXXXXXX -10. 04.44.23 UTC
307
308 Medium
309
310 2008-02-05T18:30:30 = 05.02.2008. 18.30.30
311 1995-12-22T09:05:02 = 22.12.1995. 09.05.02
312 -0010-09-15T04:44:23 = 15.09.-10. 04.44.23
313
314 Short
315
316 2008-02-05T18:30:30 = 5.2.08. 18.30
317 1995-12-22T09:05:02 = 22.12.95. 09.05
318 -0010-09-15T04:44:23 = 15.9.10. 04.44
319
320 Default
321
322 2008-02-05T18:30:30 = 05.02.2008. 18.30.30
323 1995-12-22T09:05:02 = 22.12.1995. 09.05.02
324 -0010-09-15T04:44:23 = 15.09.-10. 04.44.23
325
326 Available Formats
327 EEEd (d. EEE)
328
329 2008-02-05T18:30:30 = 5. XXX
330 1995-12-22T09:05:02 = 22. XXX
331 -0010-09-15T04:44:23 = 15. XXX
332
333 Ed (E d.)
334
335 2008-02-05T18:30:30 = XXX 5.
336 1995-12-22T09:05:02 = XXX 22.
337 -0010-09-15T04:44:23 = XXX 15.
338
339 Hm (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 Hms (H:mm:ss)
346
347 2008-02-05T18:30:30 = 18:30:30
348 1995-12-22T09:05:02 = 9:05:02
349 -0010-09-15T04:44:23 = 4:44:23
350
351 M (L)
352
353 2008-02-05T18:30:30 = 2
354 1995-12-22T09:05:02 = 12
355 -0010-09-15T04:44:23 = 9
356
357 MEd (E, M-d)
358
359 2008-02-05T18:30:30 = XXX, 2-5
360 1995-12-22T09:05:02 = XXX, 12-22
361 -0010-09-15T04:44:23 = XXX, 9-15
362
363 MMM (LLL)
364
365 2008-02-05T18:30:30 = XXX
366 1995-12-22T09:05:02 = XXX
367 -0010-09-15T04:44:23 = XXX
368
369 MMMEd (E d. MMM)
370
371 2008-02-05T18:30:30 = XXX 5. XXX
372 1995-12-22T09:05:02 = XXX 22. XXX
373 -0010-09-15T04:44:23 = XXX 15. XXX
374
375 MMMMEd (E MMMM d)
376
377 2008-02-05T18:30:30 = XXX XXXXXXX 5
378 1995-12-22T09:05:02 = XXX XXXXXXXX 22
379 -0010-09-15T04:44:23 = XXX XXXXXXXXX 15
380
381 MMMMd (MMMM d.)
382
383 2008-02-05T18:30:30 = XXXXXXX 5.
384 1995-12-22T09:05:02 = XXXXXXXX 22.
385 -0010-09-15T04:44:23 = XXXXXXXXX 15.
386
387 MMMMdd (dd. MMMM)
388
389 2008-02-05T18:30:30 = 05. XXXXXXX
390 1995-12-22T09:05:02 = 22. XXXXXXXX
391 -0010-09-15T04:44:23 = 15. XXXXXXXXX
392
393 MMMd (MMM d.)
394
395 2008-02-05T18:30:30 = XXX 5.
396 1995-12-22T09:05:02 = XXX 22.
397 -0010-09-15T04:44:23 = XXX 15.
398
399 MMMdd (dd.MMM)
400
401 2008-02-05T18:30:30 = 05.XXX
402 1995-12-22T09:05:02 = 22.XXX
403 -0010-09-15T04:44:23 = 15.XXX
404
405 MMdd (MM-dd)
406
407 2008-02-05T18:30:30 = 02-05
408 1995-12-22T09:05:02 = 12-22
409 -0010-09-15T04:44:23 = 09-15
410
411 Md (d/M)
412
413 2008-02-05T18:30:30 = 5/2
414 1995-12-22T09:05:02 = 22/12
415 -0010-09-15T04:44:23 = 15/9
416
417 d (d)
418
419 2008-02-05T18:30:30 = 5
420 1995-12-22T09:05:02 = 22
421 -0010-09-15T04:44:23 = 15
422
423 hhmm (hh.mm a)
424
425 2008-02-05T18:30:30 = 06.30 XXXXXXX
426 1995-12-22T09:05:02 = 09.05 XXX XXXXX
427 -0010-09-15T04:44:23 = 04.44 XXX XXXXX
428
429 hhmmss (hh.mm.ss a)
430
431 2008-02-05T18:30:30 = 06.30.30 XXXXXXX
432 1995-12-22T09:05:02 = 09.05.02 XXX XXXXX
433 -0010-09-15T04:44:23 = 04.44.23 XXX XXXXX
434
435 hm (h:mm a)
436
437 2008-02-05T18:30:30 = 6:30 XXXXXXX
438 1995-12-22T09:05:02 = 9:05 XXX XXXXX
439 -0010-09-15T04:44:23 = 4:44 XXX XXXXX
440
441 hms (h:mm:ss a)
442
443 2008-02-05T18:30:30 = 6:30:30 XXXXXXX
444 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX
445 -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX
446
447 ms (mm:ss)
448
449 2008-02-05T18:30:30 = 30:30
450 1995-12-22T09:05:02 = 05:02
451 -0010-09-15T04:44:23 = 44:23
452
453 y (y.)
454
455 2008-02-05T18:30:30 = 2008.
456 1995-12-22T09:05:02 = 1995.
457 -0010-09-15T04:44:23 = -10.
458
459 yM (y-M)
460
461 2008-02-05T18:30:30 = 2008-2
462 1995-12-22T09:05:02 = 1995-12
463 -0010-09-15T04:44:23 = -10-9
464
465 yMEd (EEE, d. M. yyyy.)
466
467 2008-02-05T18:30:30 = XXX, 5. 2. 2008.
468 1995-12-22T09:05:02 = XXX, 22. 12. 1995.
469 -0010-09-15T04:44:23 = XXX, 15. 9. -010.
470
471 yMMM (MMM. y)
472
473 2008-02-05T18:30:30 = XXX. 2008
474 1995-12-22T09:05:02 = XXX. 1995
475 -0010-09-15T04:44:23 = XXX. -10
476
477 yMMMEd (EEE, d. MMM y.)
478
479 2008-02-05T18:30:30 = XXX, 5. XXX 2008.
480 1995-12-22T09:05:02 = XXX, 22. XXX 1995.
481 -0010-09-15T04:44:23 = XXX, 15. XXX -10.
482
483 yMMMM (y MMMM)
484
485 2008-02-05T18:30:30 = 2008 XXXXXXX
486 1995-12-22T09:05:02 = 1995 XXXXXXXX
487 -0010-09-15T04:44:23 = -10 XXXXXXXXX
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 (QQQ. y)
496
497 2008-02-05T18:30:30 = X1. 2008
498 1995-12-22T09:05:02 = X4. 1995
499 -0010-09-15T04:44:23 = X3. -10
500
501 yyMM (MM.yy)
502
503 2008-02-05T18:30:30 = 02.08
504 1995-12-22T09:05:02 = 12.95
505 -0010-09-15T04:44:23 = 09.10
506
507 yyMMMd (d. MMM yy.)
508
509 2008-02-05T18:30:30 = 5. XXX 08.
510 1995-12-22T09:05:02 = 22. XXX 95.
511 -0010-09-15T04:44:23 = 15. XXX 10.
512
513 yyMMdd (dd.MM.yy)
514
515 2008-02-05T18:30:30 = 05.02.08
516 1995-12-22T09:05:02 = 22.12.95
517 -0010-09-15T04:44:23 = 15.09.10
518
519 yyQ (Q yy)
520
521 2008-02-05T18:30:30 = 1 08
522 1995-12-22T09:05:02 = 4 95
523 -0010-09-15T04:44:23 = 3 10
524
525 yyQQQQ (QQQQ yy)
526
527 2008-02-05T18:30:30 = XXXX XXXXXXXXXX 08
528 1995-12-22T09:05:02 = XXXXXXX XXXXXXXXXX 95
529 -0010-09-15T04:44:23 = XXXXX XXXXXXXXXX 10
530
531 yyyy (y.)
532
533 2008-02-05T18:30:30 = 2008.
534 1995-12-22T09:05:02 = 1995.
535 -0010-09-15T04:44:23 = -10.
536
537 yyyyMM (yyyy-MM)
538
539 2008-02-05T18:30:30 = 2008-02
540 1995-12-22T09:05:02 = 1995-12
541 -0010-09-15T04:44:23 = -010-09
542
543 yyyyMMMM (MMMM y.)
544
545 2008-02-05T18:30:30 = XXXXXXX 2008.
546 1995-12-22T09:05:02 = XXXXXXXX 1995.
547 -0010-09-15T04:44:23 = XXXXXXXXX -10.
548
549 Miscellaneous
550 Prefers 24 hour time?
551
552 Yes
553
554 Local first day of the week
555
556 XXXXXXXXX
557
559 See DateTime::Locale.
560
562 Dave Rolsky <autarch@urth.org>
563
565 Copyright (c) 2008 David Rolsky. All rights reserved. This program is
566 free software; you can redistribute it and/or modify it under the same
567 terms as Perl itself.
568
569 This module was generated from data provided by the CLDR project, see
570 the LICENSE.cldr in this distribution for details on the CLDR data's
571 license.
572
573
574
575perl v5.10.1 2017-03-21 DateTime::Locale::sr(3)