Softpedia
 


LINUX CATEGORIES:



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

    Date::Holidays 0.15

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Jonas B. Nielsen | More programs
    Perl Artistic License / FREE
    January 30th, 2008, 12:24 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Date::Holidays description

    Date::Holidays is a Date::Holidays::* OOP adapter aggregator.

    Date::Holidays is a Date::Holidays::* OOP adapter aggregator.

    SYNOPSIS

    use Date::Holidays;

    my $dh = Date::Holidays->new(
    countrycode => 'dk'
    );

    $holidayname = $dh->is_holiday(
    year => 2004,
    month => 12,
    day => 25
    );

    $hashref = $dh->holidays(
    year => 2004
    );


    $holidays_hashref = Date::Holidays->is_holiday(
    year => 2004,
    month => 12,
    day => 25,
    countries => ['se', 'dk', 'no'],
    );

    foreach my $country (keys %{$holidays_hashref}) {
    print $holidays_hashref->{$country}."n";
    }


    $holidays_hashref = Date::Holidays->is_holiday(
    year => 2004,
    month => 12,
    day => 25,
    );


    #Example of a module with additional parameters
    my $dh = Date::Holidays->new(
    countrycode => 'au'
    );

    $holidayname = $dh->is_holiday(
    year => 2004,
    month => 12,
    day => 25,
    state => 'TAS',
    );

    $hashref = $dh->holidays(
    year => 2004
    state => 'TAS',
    );

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OOP adapter | adapter aggregator | Perl module | OOP | adapter | aggregator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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