perl-Date-Holidays-RU-1.2018.0-alt1.noarch.rpm


Advertisement

Description

perl-Date-Holidays-RU - Determine Russian Federation official holidays and business days

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Date-Holidays-RU
Package version 1.2018.0
Package release alt1
Package architecture noarch
Package type rpm
Installed size 28.54 KB
Download size 28.54 KB
Official Mirror ftp.altlinux.org
use Date::Holidays::RU qw( is_holiday holidays is_business_day );
binmode STDOUT, ':encoding(UTF-8)';
my ( $year, $month, $day ) = ( localtime )[ 5, 4, 3 ];
$year  += 1900;
$month += 1;
if ( my $holidayname = is_holiday( $year, $month, $day ) ) {
print "Today is a holiday: $holidayname\n";
}
my $ref = holidays( $year );
while ( my ( $md, $name ) = each %%$ref ) {
print "On $md there is a holiday named $name\n";
}
if ( is_business_day( 2012, 03, 11 ) ) {
print "2012-03-11 is business day on weekend\n";
}

Alternatives

Package Version Architecture Repository
perl-Date-Holidays-RU - - -

Requires

Name Value
/usr/share/perl5 -
perl(List/Util.pm) -
perl(Time/Piece.pm) -
perl(base.pm) -
perl(utf8.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Date/Holidays/RU.pm) = 1.201.800
perl-Date-Holidays-RU = 1.2018.0-alt1

Download

Type URL
Binary Package perl-Date-Holidays-RU-1.2018.0-alt1.noarch.rpm
Source Package perl-Date-Holidays-RU-1.2018.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Date-Holidays-RU rpm package:
    # sudo apt-get install perl-Date-Holidays-RU

Files

Path
/usr/share/doc/perl-Date-Holidays-RU-1.2018.0/Changes
/usr/share/doc/perl-Date-Holidays-RU-1.2018.0/LICENSE
/usr/share/doc/perl-Date-Holidays-RU-1.2018.0/README
/usr/share/perl5/Date/
/usr/share/perl5/Date/Holidays/RU.pm

See Also

Package Description
perl-Date-Holidays-SK-0.02-alt1.noarch.rpm determine Slovak Republic bank holidays
perl-Date-Holidays-Super-0.04-alt1.noarch.rpm a SUPER class for the Date::Holidays::* modules
perl-Date-Holidays-UK-0.01-alt1.noarch.rpm Determine UK Public Holidays
perl-Date-Holidays-UK-EnglandAndWales-0.04-alt1.noarch.rpm Public Holidays in England and Wales
perl-Date-Holidays-USFederal-1.0-alt1.noarch.rpm Determine US Federal Public Holidays
perl-Date-Horoscope-2.2-alt1.noarch.rpm Date operations based on the horoscope calendar
perl-Date-ISO-1.31-alt1.noarch.rpm perl module Date-ISO
perl-Date-ISO8601-0.005-alt1_4.noarch.rpm Three ISO 8601 numerical calendars
perl-Date-Indian-0.01-alt1.noarch.rpm perl module Date-Indian
perl-Date-Indiction-0.01-alt1.noarch.rpm Compute a year's indiction as used in old Russian chronicles
perl-Date-JD-0.006-alt1_4.noarch.rpm Conversion between flavors of Julian Date
perl-Date-Jalali-0.01-alt1.noarch.rpm Perl extension for converting Gregorian Dates to Jalali
perl-Date-Jalali2-0.04-alt1.noarch.rpm Perl extension for converting Gregorian Dates to Jalali
perl-Date-Japanese-Era-0.06-alt1.noarch.rpm Conversion between Japanese Era / Gregorian calendar
perl-Date-Japanese-Era-Table-Builder-0.01-alt1.noarch.rpm conversion table builder for Date::Japanese::Era
Advertisement
Advertisement