| 1 | ## | ||||||||||
| 2 | ## Occitan tables, contributed by Quentn PAGÈS | ||||||||||
| 3 | ## | ||||||||||
| 4 | |||||||||||
| 5 | package Date::Language::Occitan; | ||||||||||
| 6 | |||||||||||
| 7 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 2 | ▶ | use Date::Language (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 2 | ▶ | use base 'Date::Language'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | 2 | our $VERSION = '2.35'; # VERSION: generated | |||||||||
| 13 | # ABSTRACT: Occitan localization for Date::Format | ||||||||||
| 14 | |||||||||||
| 15 | 2 | our (@DoW, @DoWs, @MoY, @MoYs, @AMPM, @Dsuf, %MoY, %DoW); | |||||||||
| 16 | |||||||||||
| 17 | 2 | @DoW = qw(dimenge diluns dimars dimècres dijòus divendres dissabte); | |||||||||
| 18 | 2 | @MoY = qw(genièr febrièr març abrial mai junh | |||||||||
| 19 | julhet agost setembre octòbre novembre decembre); | ||||||||||
| 20 | 2 | @DoWs = map { substr($_,0,3) } @DoW; | |||||||||
| 21 | 2 | @MoYs = map { substr($_,0,3) } @MoY; | |||||||||
| 22 | 2 | $MoYs[6] = 'jul'; | |||||||||
| 23 | 2 | @AMPM = qw(AM PM); | |||||||||
| 24 | |||||||||||
| 25 | 2 | @Dsuf = ((qw(er e e e e e e e e e)) x 3, 'er'); | |||||||||
| 26 | |||||||||||
| 27 | 2 | Date::Language::_build_lookups(); | |||||||||
| 28 | |||||||||||
| 29 | # Formatting routines | ||||||||||
| 30 | |||||||||||
| 31 | 2 | ▶ | sub format_a { $DoWs[$_[0]->[6]] } | ||||||||
|
Subroutine
format_a: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 32 | 2 | ▶ | sub format_A { $DoW[$_[0]->[6]] } | ||||||||
|
Subroutine
format_A: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 33 | 2 | ▶ | sub format_b { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_b: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 34 | 2 | ▶ | sub format_B { $MoY[$_[0]->[4]] } | ||||||||
|
Subroutine
format_B: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 35 | 0 | ▶ | sub format_h { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_h: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 36 | 0 | ▶ | sub format_p { $_[0]->[2] >= 12 ? $AMPM[1] : $AMPM[0] } | ||||||||
|
Subroutine
format_p: not called CC=2 SCAR=17.9
Pod
undocumented
Branch: 1 branch
| |||||||||||
| 37 | |||||||||||
| 38 | 2 | 1; | |||||||||
| 39 | |||||||||||
| 40 | __END__ | ||||||||||