Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    DateTime::Calendar::Mayan 0.0601

    Download button

    No screenshots available
    Downloads: 364  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Joshua Hoblitt | More programs
    Perl Artistic License / FREE
    May 17th, 2007, 04:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    DateTime::Calendar::Mayan description

    DateTime::Calendar::Mayan is a Perl module with the Mayan Long Count, Haab, and Tzolkin calendars.

    DateTime::Calendar::Mayan is a Perl module with the Mayan Long Count, Haab, and Tzolkin calendars.

    SYNOPSIS

    use DateTime::Calendar::Mayan

    my $dtcm = DateTime::Calendar::Mayan->new(
    baktun => 12,
    katun => 19,
    tun => 10,
    uinal => 2,
    kin => 8,
    # alternate epoch
    epoch => DateTime->new(
    year => -3113,
    month => 8,
    day => 13,
    ),
    );

    print $dtcm->date;
    # prints 12.19.10.2.8
    print $dtcm->haab;
    # prints 3 Uayeb
    print $dtcm->tzolkin;
    # prints 3 Oc

    An implementation of the Mayan Long Count, Haab, and Tzolkin calendars as defined in "Calendrical Calculations The Millennium Edition". Supplemented by "Frequently Asked Questions about Calendars".

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Mayan Long Count | Haab calendars | Tzolkin calendars | DateTime::Calendar:: | Mayan | Haab

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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