| 1 | package Date::Ethiopic::ET::gru; | ||
| 2 | use base ( "Date::Ethiopic::ET", "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 | [ "ውርሰንበት", "Wirsenbet" ], | ||
| 18 | [ "ውጠት", "Witet" ], | ||
| 19 | [ "መናግ", "Menag" ], | ||
| 20 | [ "ኧሮብ", "Erob" ], | ||
| 21 | [ "ሐሙስ", "Hemus" ], | ||
| 22 | [ "ዓዳረ", "Adare" ], | ||
| 23 | [ "ቅዳምሰንበት", "Qidamsenbet" ] | ||
| 24 | ); | ||
| 25 | @ShortDays =( | ||
| 26 | [ "ውርሰ", "Wir" ], | ||
| 27 | [ "ውጠት", "Wit" ], | ||
| 28 | [ "መናግ", "Men" ], | ||
| 29 | [ "ኧሮብ", "Ero" ], | ||
| 30 | [ "ሐሙስ", "Hem" ], | ||
| 31 | [ "ዓዳረ", "Ada" ], | ||
| 32 | [ "ቅዳም", "Qid" ] | ||
| 33 | ); | ||
| 34 | } | ||
| 35 | |||
| 36 | |||
| 37 | sub _daysep | ||
| 38 | { | ||
| 39 | ($_[0]->{_trans}) ? " Malit " : " ማልት "; | ||
| 40 | } | ||
| 41 | |||
| 42 | |||
| 43 | sub name | ||
| 44 | { | ||
| 45 | ($_[0]->{_trans}) ? "Sodo" : "ሶዶ"; | ||
| 46 | } | ||
| 47 | |||
| 48 | |||
| 49 | sub month_name | ||
| 50 | { | ||
| 51 | my ($self) = shift; | ||
| 52 | |||
| 53 | $self->SUPER::month_name ( @_ ); | ||
| 54 | } | ||
| 55 | |||
| 56 | |||
| 57 | sub short_month_name | ||
| 58 | { | ||
| 59 | my ($self) = shift; | ||
| 60 | |||
| 61 | $self->SUPER::short_month_name ( @_ ); | ||
| 62 | } | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | ######################################################### | ||
| 67 | # Do not change this, Do not put anything below this. | ||
| 68 | # File must return "true" value at termination | ||
| 69 | 1; | ||
| 70 | ########################################################## | ||
| 71 | |||
| 72 | __END__ |