| 1 | ## | ||||||||||
| 2 | ## Gedeo tables | ||||||||||
| 3 | ## | ||||||||||
| 4 | |||||||||||
| 5 | package Date::Language::Gedeo; | ||||||||||
| 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: Gedeo localization for Date::Format | ||||||||||
| 15 | |||||||||||
| 16 | 2 | our (@DoW, @DoWs, @MoY, @MoYs, @AMPM, @Dsuf, %MoY, %DoW); | |||||||||
| 17 | |||||||||||
| 18 | 2 | @DoW = qw( Sanbbattaa Sanno Masano Roobe Hamusse Arbe Qiddamme); | |||||||||
| 19 | 2 | @MoY = ( | |||||||||
| 20 | "Oritto", | ||||||||||
| 21 | "Birre'a", | ||||||||||
| 22 | "Onkkollessa", | ||||||||||
| 23 | "Saddasa", | ||||||||||
| 24 | "Arrasa", | ||||||||||
| 25 | "Qammo", | ||||||||||
| 26 | "Ella", | ||||||||||
| 27 | "Waacibajje", | ||||||||||
| 28 | "Canissa", | ||||||||||
| 29 | "Addolessa", | ||||||||||
| 30 | "Bittitotessa", | ||||||||||
| 31 | "Hegeya" | ||||||||||
| 32 | ); | ||||||||||
| 33 | 2 | @DoWs = map { substr($_,0,3) } @DoW; | |||||||||
| 34 | 2 | $DoWs[0] = "Snb"; | |||||||||
| 35 | 2 | $DoWs[1] = "Sno"; | |||||||||
| 36 | 2 | @MoYs = map { substr($_,0,3) } @MoY; | |||||||||
| 37 | 2 | @AMPM = qw(gorsa warreti-udumma); | |||||||||
| 38 | |||||||||||
| 39 | 2 | @Dsuf = (qw(th st nd rd th th th th th th)) x 3; | |||||||||
| 40 | 2 | @Dsuf[11,12,13] = qw(th th th); | |||||||||
| 41 | 2 | @Dsuf[30,31] = qw(th st); | |||||||||
| 42 | |||||||||||
| 43 | 2 | Date::Language::_build_lookups(); | |||||||||
| 44 | |||||||||||
| 45 | # Formatting routines | ||||||||||
| 46 | |||||||||||
| 47 | 2 | ▶ | sub format_a { $DoWs[$_[0]->[6]] } | ||||||||
|
Subroutine
format_a: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 48 | 2 | ▶ | sub format_A { $DoW[$_[0]->[6]] } | ||||||||
|
Subroutine
format_A: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 49 | 2 | ▶ | sub format_b { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_b: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 50 | 2 | ▶ | sub format_B { $MoY[$_[0]->[4]] } | ||||||||
|
Subroutine
format_B: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 51 | 0 | ▶ | sub format_h { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_h: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 52 | 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
| |||||||||||
| 53 | |||||||||||
| 54 | 2 | 1; | |||||||||
| 55 | |||||||||||
| 56 | __END__ | ||||||||||