ዳንኤል ያዕቆብ > Convert-Ethiopic > Ethiopic::Time

Download:
Convert-Ethiopic-0.20-210102.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Ethiopic::Time - conversions of calendar systems to/from Ethiopic and Gregorian.

SYNOPSIS ^

  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" 

DESCRIPTION ^

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:

'calIn'

which can be "euro or "ethio".

'date'

a comma separated list as "day,month,year".

'LCInfo'

locale settings see the LibEth man pages.

These keys are set when using a LiveGeez::Request object as shown in the example.

AUTHOR ^

Daniel Yacob, LibEth@EthiopiaOnline.Net

SEE ALSO ^

perl(1). LiveGeez(3), http://libeth.netpedia.net

syntax highlighting: