ዳንኤል ያዕቆብ > DateTime-Calendar-Coptic > DateTime::Calendar::Coptic

Download:
DateTime-Calendar-Coptic-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

DateTime::Calendar::Coptic - DateTime Module for the Coptic Calendar System.

SYNOPSIS ^

 use DateTime::Calendar::Coptic;
 #
 #  typical instantiation:
 #
 my $coptic = new DateTime::Calendar::Coptic ( day => 28, month => 7, year => 1719 );

 #
 # Get Gregorian Date:
 #
 my ($d,$m,$y) = $coptic->gregorian;

 #
 #  instantiate with a Gregorian date, date will be converted.
 #
 $coptic = new DateTime::Calendar::Coptic ( day => 5, month => 4, year => 2003, calscale => 'gregorian' );

 #
 #  get a DateTime object in the Gregorian calendar system
 #
 my $grego = $coptic->toGregorian;  

DESCRIPTION ^

The DateTime::Calendar::Coptic module provides methods for accessing date information in the Coptic calendar system. The module will also convert dates to and from the Gregorian system.

CREDITS ^

http://www.copticchurch.net/easter.html

REQUIRES ^

DateTime and Convert::Number::Coptic. It should work with any version of Perl. Convert::Number::Coptic is only required if you want to display years and days in Coptic numerals.

COPYRIGHT ^

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

BUGS ^

None presently yet.

AUTHOR ^

Daniel Yacob, dyacob@cpan.org

SEE ALSO ^

DateTime

syntax highlighting: