perl-Date-Holidays-BY-0.2019.5-alt1.noarch.rpm


Advertisement

Description

perl-Date-Holidays-BY - Determine Belorussian official holidays and business days

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Date-Holidays-BY-0.2019.5-alt1.noarch.rpm
Package name perl-Date-Holidays-BY
Package version 0.2019.5
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 26.57 KB
Installed size 26.57 KB
use Date::Holidays::BY 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";
}
if ( is_short_business_day( 2015, 04, 30 ) ) {
print "2015-04-30 is short business day\n";
}

Alternatives

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

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/BY.pm) = 0.201.901
perl-Date-Holidays-BY = 0.2019.5-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Date-Holidays-BY-0.2019.5-alt1.noarch.rpm
Source Package perl-Date-Holidays-BY-0.2019.5-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-BY rpm package:
    # sudo apt-get install perl-Date-Holidays-BY

Files

Path
/usr/share/doc/perl-Date-Holidays-BY-0.2019.5/Changes
/usr/share/doc/perl-Date-Holidays-BY-0.2019.5/LICENSE
/usr/share/doc/perl-Date-Holidays-BY-0.2019.5/README
/usr/share/perl5/Date/
/usr/share/perl5/Date/Holidays/BY.pm

See Also

Package Description
perl-Date-Holidays-CA-0.03-alt1.noarch.rpm Holidays for Canadian locales
perl-Date-Holidays-CA_ES-0.03-alt1.noarch.rpm Catalan holidays
perl-Date-Holidays-CZ-0.13-alt1.noarch.rpm determine Czech Republic bank holidays
perl-Date-Holidays-DE-2.02-alt1.noarch.rpm Determine German Holiday dates
perl-Date-Holidays-DK-0.03-alt1.noarch.rpm Determine Danish public holidays
perl-Date-Holidays-ES-0.02-alt1.noarch.rpm Spanish holidays for Date::Holidays
perl-Date-Holidays-EnglandWales-0.07-alt1.noarch.rpm Determines bank holidays
perl-Date-Holidays-FR-0.02-alt1.noarch.rpm perl module Date-Holidays-FR
perl-Date-Holidays-GB-0.012-alt1.noarch.rpm Date::Holidays compatible package for the UK, with public/bank holiday dates, updated from gov.uk
perl-Date-Holidays-IND-0.04-alt1.noarch.rpm Interface to Indian holidays
perl-Date-Holidays-KR-0.07-alt1.noarch.rpm Determine Korean public holidays
perl-Date-Holidays-KZ-0.2019.0-alt1.noarch.rpm Determine Kazakhstan official holidays and business days
perl-Date-Holidays-NO-0.2-alt1.noarch.rpm A wrapper for No::Dato to comply with Date::Holidays
perl-Date-Holidays-NZ-1.04-alt1.noarch.rpm Determine New Zealand public holidays
perl-Date-Holidays-PAK-0.06-alt1.noarch.rpm Interface to Pakistan national holidays
Advertisement
Advertisement