NAME

Date::Holidays::LT - Determine Lithuanian holidays

SYNOPSIS

use Date::Holidays::LT; my ($year, $month, $day) = (localtime)[5, 4, 3]; $year += 1900; $month += 1; print "Let's party!" if is_lt_holiday($year, $month, $day);

DESCRIPTION

is_lt_holiday method return true value when the day is holiday.

There are 15 holidays in Lithuania:

  • New Year's Day

  • Day of Re-establishment of the State of Lithuania

  • Day of Restitution of Independence of Lithuania

  • Easter day one

  • Easter day two

  • International Labor Day

  • Mother's day

  • Father's day

  • Day of Dew : "Rasos", "Joninės"

  • Statehood Day : "Lietuvos karaliaus Mindaugo karūnavimo diena"

  • Herbal Day : "Žolinės"

  • All Saints' Day

  • Christmas eve

  • Christmas day one

  • Christmas day two

Easter is computed with Date::Easter module.

SUBROUTINES

is_lt_holiday($year, $month, $day)

Returns the name of the holiday in english that falls on the given day, or undef if there is none.

REQUESTS & BUGS

Please report any requests, suggestions or bugs via the RT bug-tracking system at http://rt.cpan.org/ or email to bug-Date-Holidays-LT\@rt.cpan.org.

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Date-Holidays-LT is the RT queue for Date::Holidays::LT. Please check to see if your bug has already been reported.

PREREQUISITES

This script requires the Date::Easter module. Makes use of the POSIX module from the standard Perl distribution.

COPYRIGHT

Copyright 2012

Saulius Petrauskas, saulius@cpan.org

This software may be freely copied and distributed under the same terms and conditions as Perl.

SEE ALSO

perl(1), Date::Holidays::FR, Date::Holidays::DE.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 88:

Non-ASCII character seen before =encoding in '"Joninės"'. Assuming UTF-8