Ethiopic/ER/tig.pm untested

filter: Statementstmt 0.0% 0 / 44 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 13 Podpod 0.0% 0 / 7 totaltotal 0.0% 0 / 72 CC 5 SCAR 13.6
CC
5
Cov
0%
_daysep
6.0
am
6.0
pm
6.0
CRAP 3.9
1 package Date::Ethiopic::ER::tig;
2 use base ( "Date::Ethiopic::ER", "Date::Ethiopic" );
3 use utf8;
4  
5 BEGIN
6 {
7 use strict;
8 use warnings;
9 use vars qw(
10 @Days
11 @ShortDays
12 );
13  
14 $VERSION = "0.16";
15  
16 @Days =(
17 [ "ሰንበት ዓባይ", "Senbet Abay" ],
18 [ "ሰኖ", "Seno" ],
19 [ "ታላሸኖ", "Talasheno" ],
20 [ "ኣረርባዓ", "Arerba'a" ],
21 [ "ከሚሽ", "Kemish" ],
22 [ "ጅምዓት", "Jim'at" ],
23 [ "ሰንበት ንኢሽ", "Senbet Nish" ]
24 );
25 @ShortDays =(
26 [ "ሰ/ዓ", "S/A" ],
27 [ "ሰኖ", "Sen" ],
28 [ "ታላሸ", "Tal" ],
29 [ "ኣረር", "Are" ],
30 [ "ከሚሽ", "Kem" ],
31 [ "ጅምዓ", "Jim" ],
32 [ "ሰ/ን", "S/N" ]
33 );
34 require Date::Ethiopic::ti;
35 }
36  
37  
38 sub _daysep
39 {
40 ($_[0]->{_trans}) ? " Yom " : " ዮም ";
41 }
42  
43  
44 sub am
45 {
46 ($_[0]->{_trans}) ? "KS" : "ቀደም ሰርምዕል";
47 }
48  
49  
50 sub pm
51 {
52 ($_[0]->{_trans}) ? "HS" : "ሓቆ ሰርምዕል";
53 }
54  
55  
56 sub name
57 {
58 ($_[0]->{_trans}) ? "Tigre" : "ትግረ";
59 }
60  
61  
62 sub month_name
63 {
64 Date::Ethiopic::ti::month_name ( @_ );
65 }
66  
67  
68 sub short_month_name
69 {
70 Date::Ethiopic::ti::short_month_name ( @_ );
71 }
72  
73  
74 #########################################################
75 # Do not change this, Do not put anything below this.
76 # File must return "true" value at termination
77 1;
78 ##########################################################
79  
80 __END__