perl-Date-Holidays-KZ-0.2019.0-alt1.noarch.rpm


Advertisement

Description

perl-Date-Holidays-KZ - Determine Kazakhstan official holidays and business days

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Date-Holidays-KZ-0.2019.0-alt1.noarch.rpm
Package name perl-Date-Holidays-KZ
Package version 0.2019.0
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 26.92 KB
Installed size 26.92 KB
use Date::Holidays::KZ 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-KZ - - -

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/KZ.pm) = 0.201.900
perl-Date-Holidays-KZ = 0.2019.0-alt1

Download

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

Files

Path
/usr/share/doc/perl-Date-Holidays-KZ-0.2019.0/Changes
/usr/share/doc/perl-Date-Holidays-KZ-0.2019.0/LICENSE
/usr/share/doc/perl-Date-Holidays-KZ-0.2019.0/README
/usr/share/perl5/Date/
/usr/share/perl5/Date/Holidays/KZ.pm

See Also

Package Description
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
perl-Date-Holidays-PF-0.03-alt1.noarch.rpm Determine French Polynesia holidays
perl-Date-Holidays-PL-1.110050-alt1.noarch.rpm Determine holidays for Poland
perl-Date-Holidays-PT-0.03-alt1.noarch.rpm perl module Date-Holidays-PT
perl-Date-Holidays-RU-1.2018.0-alt1.noarch.rpm Determine Russian Federation official holidays and business days
perl-Date-Holidays-SK-0.02-alt1.noarch.rpm determine Slovak Republic bank holidays
perl-Date-Holidays-Super-0.05-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_7.noarch.rpm Three ISO 8601 numerical calendars
Advertisement
Advertisement