Date::Convert

Date::Convert is a Perl module to convert between any two calendar file formats.
Download

Date::Convert Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Mordechai T. Abzug
  • Publisher web site:
  • http://search.cpan.org/~morty/DateConvert-0.16/Convert.pm

Date::Convert Tags


Date::Convert Description

Date::Convert is a Perl module to convert between any two calendar file formats. Date::Convert is a Perl module to convert between any two calendar file formats (e.g. ical).SYNOPSIS use Date::DateCalc; $date=new Date::Convert::Gregorian(1997, 11, 27); @date=$date->date; convert Date::Convert::Hebrew $date; print $date->date_string, "n";Currently defined subclasses: Date::Convert::Absolute Date::Convert::Gregorian Date::Convert::Hebrew Date::Convert::JulianDate::Convert is intended to allow you to convert back and forth between any arbitrary date formats (ie. pick any from: Gregorian, Julian, Hebrew, Absolute, and any others that get added on). It does this by having a separate subclass for each format, and requiring each class to provide standardized methods for converting to and from the date format of the base class. In this way, instead of having to code a conversion routine for going between and two arbitrary formats foo and bar, the function only needs to convert foo to the base class and the base class to bar. Ie: Gregorian Base class HebrewThe base class includes a Convert method to do this transparently.Nothing is exported because it wouldn't make any sense to export. Requirements: · Perl


Date::Convert Related Software