perl-Date-Components-0.2.1-alt1.noarch.rpm


Advertisement

Description

perl-Date-Components - Parses, processes and formats ONLY dates and date components

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Date-Components-0.2.1-alt1.noarch.rpm
Package name perl-Date-Components
Package version 0.2.1
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 187.07 KB
Installed size 187.07 KB
Date::Components parses dates into components on the front end, formats them on
the back end and enables many operations on whole dates and date components in
between.
This unique module was created to combine a parser, formatter, component
operators and time independence into a single unit.  Independence of time also
enables the widest date range possible (limited by integer size).  Applications
include portfolio management where only dates are relevant.  With the variety
of supported date formats, it can be used as an in-line date re-formatter.
Subroutines providing operations specific to the standard 400 year cycle are
included also.
The module is not object oriented.  Rather, it supplies a variety of
useful functions to analyze, process and format complete dates and the four
date components of *month*, *day-of-month*, *year* and *day-of-week*.
ALL representations of time and related parameters are ignored, including
hours, minutes, seconds, time zones, daylight savings time, etc.
Leap year standard is used.  According to the Royal Greenwich Observatory, the
calendar year is 365 days long, unless the year is exactly divisible by four,
then an extra day is added to February so the year is 366 days long. If the
year is the last year of a century, e.g., 2000, 2100, 2200, 2300, 2400, then it
is only a leap year if it is exactly divisible by 400. So, 2100 won't be a leap
year but 2000 is. The next century year, exactly divisible by 400, won't occur
until 2400--400 years away.
Subroutines `is_valid_date', `format_date' and `get_numeric_day_of_week'
are overloaded to accept either a list of date components or a single SCALAR
date string to enable more flexible usage.
Date strings returned by subroutines are always in default format.

Alternatives

Package Version Architecture Repository
perl-Date-Components - - -

Requires

Name Value
/usr/share/perl5 -
perl(Readonly.pm) >= 1.030
perl(version.pm) >= 0.740
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Date/Components.pm) = 0.002.001
perl-Date-Components = 0.2.1-alt1

Download

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

Files

Path
/usr/share/doc/perl-Date-Components-0.2.1/Changes
/usr/share/doc/perl-Date-Components-0.2.1/README
/usr/share/perl5/Date/Components.pm

See Also

Package Description
perl-Date-Convert-French_Rev-0.08-alt1.noarch.rpm perl module Date-Convert-French_Rev
perl-Date-Converter-1.1-alt1.noarch.rpm perl module Date-Converter
perl-Date-Cutoff-JP-0.07-alt1.noarch.rpm Get the day cutoff and payday for in Japanese timezone
perl-Date-Darian-Mars-0.004-alt1.noarch.rpm the Darian calendar for Mars
perl-Date-Day-1.04-alt1.noarch.rpm Perl extension for converting a date to its respective day
perl-Date-DayOfWeek-1.22-alt1.noarch.rpm perl module Date-DayOfWeek
perl-Date-Decade-0.33-alt1.noarch.rpm perl module Date-Decade
perl-Date-Discordian-1.36-alt1.noarch.rpm perl module Date-Discordian
perl-Date-Easter-1.22-alt1.noarch.rpm Calculates Easter for any given year
perl-Date-Easter-scripts-1.22-alt1.noarch.rpm Date-Easter scripts
perl-Date-Easy-0.05-alt1.noarch.rpm easy dates with Time::Piece compatibility
perl-Date-Ethiopic-0.13-alt1.noarch.rpm ICalendar for the Ethiopic Calendar System
perl-Date-Exception-0.08-alt1.noarch.rpm Base exception package as Moo Role for Date::* packages
perl-Date-Extract-ID-0.002-alt1.noarch.rpm Extract probable dates from Indonesian text
perl-Date-Extract-P800Picture-1.1.2-alt1.noarch.rpm extract the date from Sony Ericsson P800 pictures
Advertisement
Advertisement