Ethiopic/ET/am.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 13 Podpod 0.0% 0 / 9 totaltotal 0.0% 0 / 56 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::ET::am;
2 use base ( "Date::Ethiopic::ET", "Date::Ethiopic" );
3 use utf8;
4  
5 BEGIN
6 {
7 use strict;
8 use warnings;
9 #
10 # Since in Amharic is set for the Ethiopian
11 # default, the data is in the parent class.
12 #
13  
14 $VERSION = "0.16";
15 }
16  
17  
18 sub _daysep
19 {
20 ($_[0]->{_trans}) ? " Ken " : " ቀን ";
21 }
22  
23  
24 sub am
25 {
26 ($_[0]->{_trans}) ? "Twat" : "ጠዋት";
27 }
28  
29  
30 sub pm
31 {
32 ($_[0]->{_trans}) ? "Kese'at" : "ከሰዓት";
33 }
34  
35  
36 sub name
37 {
38 ($_[0]->{_trans}) ? "Amharic" : "አማርኛ";
39 }
40  
41  
42 sub day_name
43 {
44 my ($self) = shift;
45  
46 $self->SUPER::day_name ( @_ );
47 }
48  
49  
50 sub short_day_name
51 {
52 my ($self) = shift;
53  
54 $self->SUPER::short_day_name ( @_ );
55 }
56  
57  
58 sub month_name
59 {
60 my ($self) = shift;
61  
62 $self->SUPER::month_name ( @_ );
63 }
64  
65  
66 sub short_month_name
67 {
68 my ($self) = shift;
69  
70 $self->SUPER::short_month_name ( @_ );
71 }
72  
73  
74  
75 #########################################################
76 # Do not change this, Do not put anything below this.
77 # File must return "true" value at termination
78 1;
79 ##########################################################
80  
81 __END__