Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Date::Convert 0.16

    Download button

    No screenshots available
    Downloads: 569  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mordechai T. Abzug | More programs
    Perl Artistic License / FREE
    May 7th, 2008, 23:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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::Julian

    Date::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 Hebrew

    The base class includes a Convert method to do this transparently.

    Nothing is exported because it wouldn't make any sense to export.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    ical converter | calendar converter | Perl module | ical | calendar | Gregorian

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM