| 1 | package Date::Ethiopic::ET::har; | ||
| 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 | [ "አልሓድ", "Alhad" ], | ||
| 18 | [ "ኢስኒን", "Isnin" ], | ||
| 19 | [ "ሰላሣ", "Selasa" ], | ||
| 20 | [ "አርብአ", "Arbaa" ], | ||
| 21 | [ "ከሚስ", "Khamis" ], | ||
| 22 | [ "ጁምአ", "Juma" ], | ||
| 23 | [ "ሰብቲ", "Sebti" ] | ||
| 24 | ); | ||
| 25 | @ShortDays =( | ||
| 26 | [ "አልሓ", "Alh" ], | ||
| 27 | [ "ኢስኒ", "Isn" ], | ||
| 28 | [ "ሰላሣ", "Sel" ], | ||
| 29 | [ "አርብ", "Arb" ], | ||
| 30 | [ "ከሚስ", "Kha" ], | ||
| 31 | [ "ጁምአ", "Jum" ], | ||
| 32 | [ "ሰብቲ", "Seb" ] | ||
| 33 | ); | ||
| 34 | } | ||
| 35 | |||
| 36 | |||
| 37 | sub _daysep | ||
| 38 | { | ||
| 39 | ($_[0]->{_trans}) ? " Ayam " : " አያም "; | ||
| 40 | } | ||
| 41 | |||
| 42 | |||
| 43 | sub am | ||
| 44 | { | ||
| 45 | ($_[0]->{_trans}) ? "soza" : "ሶዛ"; | ||
| 46 | } | ||
| 47 | |||
| 48 | |||
| 49 | sub pm | ||
| 50 | { | ||
| 51 | ($_[0]->{_trans}) ? "salat baher" : "ሳላት ባሕር"; | ||
| 52 | } | ||
| 53 | |||
| 54 | |||
| 55 | sub name | ||
| 56 | { | ||
| 57 | ($_[0]->{_trans}) ? "Harari" : "አደርኛ"; | ||
| 58 | } | ||
| 59 | |||
| 60 | |||
| 61 | sub month_name | ||
| 62 | { | ||
| 63 | my ($self) = shift; | ||
| 64 | |||
| 65 | $self->SUPER::month_name ( @_ ); | ||
| 66 | } | ||
| 67 | |||
| 68 | |||
| 69 | sub short_month_name | ||
| 70 | { | ||
| 71 | my ($self) = shift; | ||
| 72 | |||
| 73 | $self->SUPER::short_month_name ( @_ ); | ||
| 74 | } | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | ######################################################### | ||
| 79 | # Do not change this, Do not put anything below this. | ||
| 80 | # File must return "true" value at termination | ||
| 81 | 1; | ||
| 82 | ########################################################## | ||
| 83 | |||
| 84 | __END__ |