Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37039147
en ru br
ALT Linux repositórios
S:3.03-alt3.2

Group :: Desenvolvimento/Perl
RPM: perl-Date-Simple

 Principal   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

A versão atual: 3.03-alt3.2
Data da compilação: 24 janeiro 2019, 12:47 ( 270.0 weeks ago )
Tamanho:: 28.92 Kb

Home page:   http://www.cpan.org

Licença: Artistic
Sumário: a simple date object
Descrição:

Dates are complex enough without times and timezones.  This module may
be used to create simple date objects.  It handles:

=over 4

=item Validation.

Reject 1999-02-29 but accept 2000-02-29.

=item Interval arithmetic.

How many days were between two given dates?  What date comes N days
after today?

=item Day-of-week calculation.

What day of the week is a given date?

=item Transparent date formatting.

How should a date object be formatted.

=back

It does not deal with hours, minutes, seconds, and time zones.

A date is uniquely identified by year, month, and day integers within
valid ranges.  This module will not allow the creation of objects for
invalid dates.  Attempting to create an invalid date will return
undef.  Month numbering starts at 1 for January, unlike in C and Java.
Years are 4-digit.

Gregorian dates up to year 9999 are handled correctly, but we rely on
Perl's builtin `localtime' function when the current date is
requested.  On some platforms, `localtime' may be vulnerable to
rollovers such as the Unix `time_t' wraparound of 18 January 2038.

Overloading is used so you can compare or subtract two dates using
standard numeric operators such as `==', and the sum of a date object
and an integer is another date object.

Date::Simple objects are immutable.  After assigning `$date1' to
`$date2', no change to `$date1' can affect `$date2'.  This means,
for example, that there is nothing like a `set_year' operation, and
`$date++' assigns a new object to `$date'.

This module contains various undocumented functions.  They may not be
available on all platforms and are likely to change or disappear in
future releases.  Please let the author know if you think any of them
should be public.

Mantenedor currente: Kirill Maslinsky

Lista dos contribuidores

Lista dos rpms provida por esta srpm:

  • perl-Date-Simple
  • perl-Date-Simple-debuginfo
ACL:
     
    projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    mantenedor atual: Michael Shigorin
    mantenedor da tradução: Fernando Martini aka fmartini © 2009