Ethiopic::Time - conversions of calendar systems to/from Ethiopic and Gregorian.
use LiveGeez::Request; require Convert::Ethiopic::Time; my $r = LiveGeez::Request->new; ReadParse ( \%input ); $r->ParseInput ( \%input ); my $t = Convert::Ethiopic::Time->new ( $r ); $t->GregorianToEthiopic; print "$t->{euDay}/$t->{euMonth}/$t->{euYear} = "; print "$t->{etDay}/$t->{etMonth}/$t->{etYear}\n"
Ethiopic::Time and Ethiopic::Cstocs are designed as interfaces to the methods in the Ethiopic:: module and is oriented as services for the LiveGeez:: module. In this version Ethiopic::Time expects to receive an object with hash elements using the keys:
which can be "euro or "ethio".
a comma separated list as "day,month,year".
locale settings see the LibEth man pages.
These keys are set when using a LiveGeez::Request object as shown in the example.
Daniel Yacob, LibEth@EthiopiaOnline.Net
perl(1). LiveGeez(3), http://libeth.netpedia.net
To install Convert::Ethiopic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::Ethiopic
CPAN shell
perl -MCPAN -e shell install Convert::Ethiopic
For more information on module installation, please visit the detailed CPAN module installation guide.