| 1 | ## | ||||||||||
| 2 | ## Sidama tables | ||||||||||
| 3 | ## | ||||||||||
| 4 | |||||||||||
| 5 | package Date::Language::Sidama; | ||||||||||
| 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 | |||||||||||
| 10 | 2 | ▶ | use Date::Language (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 2 | ▶ | use base 'Date::Language'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 2 | our $VERSION = '2.35'; # VERSION: generated | |||||||||
| 14 | # ABSTRACT: Sidama localization for Date::Format | ||||||||||
| 15 | |||||||||||
| 16 | 2 | our (@DoW, @DoWs, @MoY, @MoYs, @AMPM, @Dsuf, %MoY, %DoW); | |||||||||
| 17 | |||||||||||
| 18 | 2 | @DoW = qw(Sambata Sanyo Maakisanyo Roowe Hamuse Arbe Qidaame); | |||||||||
| 19 | 2 | @MoY = qw(January February March April May June | |||||||||
| 20 | July August September October November December); | ||||||||||
| 21 | 2 | @DoWs = map { substr($_,0,3) } @DoW; | |||||||||
| 22 | 2 | @MoYs = map { substr($_,0,3) } @MoY; | |||||||||
| 23 | 2 | @AMPM = qw(soodo hawwaro); | |||||||||
| 24 | |||||||||||
| 25 | 2 | @Dsuf = (qw(th st nd rd th th th th th th)) x 3; | |||||||||
| 26 | 2 | @Dsuf[11,12,13] = qw(th th th); | |||||||||
| 27 | 2 | @Dsuf[30,31] = qw(th st); | |||||||||
| 28 | |||||||||||
| 29 | 2 | Date::Language::_build_lookups(); | |||||||||
| 30 | |||||||||||
| 31 | # Formatting routines | ||||||||||
| 32 | |||||||||||
| 33 | 2 | ▶ | sub format_a { $DoWs[$_[0]->[6]] } | ||||||||
|
Subroutine
format_a: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 34 | 2 | ▶ | sub format_A { $DoW[$_[0]->[6]] } | ||||||||
|
Subroutine
format_A: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 35 | 2 | ▶ | sub format_b { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_b: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 36 | 2 | ▶ | sub format_B { $MoY[$_[0]->[4]] } | ||||||||
|
Subroutine
format_B: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 37 | 0 | ▶ | sub format_h { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_h: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 38 | 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
| |||||||||||
| 39 | |||||||||||
| 40 | 2 | 1; | |||||||||
| 41 | |||||||||||
| 42 | __END__ | ||||||||||