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::UK::EnglandAndWales 0.03

    Download button

    No screenshots available
    Downloads: 233  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Lee Goddard | More programs
    Perl Artistic License / FREE
    November 8th, 2011, 15:58 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Date::Holidays::UK::EnglandAndWales description

    Public Holidays in England and Wales

    Date::Holidays::UK::EnglandAndWales is a Perl module based on Date::Holidays::UK by Richard Clamp, Amelie Guyot, Jerome Parfant, which did not contain the dates needed by my clients.

    As Msrs Clamp et al note in the POD for their module, Naming modules is a tricky thing: I've named this EnglandAndWales because the UK module cannot include holidays for Northern Ireland and Scotland, and maintain its API.

    SYNOPSIS

     use Date::Holidays::UK::EnglandAndWales;
     my ($year, $month, $day) = (localtime)[ 5, 4, 3 ];
     $year += 1900;
     $month += 1;
     warn "Holiday" if is_uk_holiday( $year, $month, $day );
     warn "Holiday" if Date::Holidays::UK::EnglandAndWales->is_holiday( $year, $month, $day );


    These bank and public holidays are holidays in England and Wales, and not necessarily for Scotland and Northern Ireland.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    public holidays | UK holidays | Perl module | UK | England | holidays

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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