The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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