Packages / openSUSE Leap 15.6 / Source / Development/Libraries/Perl / perl-Date-Simple

Source Package: perl-Date-Simple (3.03-1.28)

a simple date object

Dates are complex enough without times and timezones. This module may be used to create simple date objects. It handles: * Validation. Reject 1999-02-29 but accept 2000-02-29. * Interval arithmetic. How many days were between two given dates? What date comes N days after today? * Day-of-week calculation. What day of the week is a given date? * Transparent date formatting. How should a date object be formatted. 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.

Package information

Homepage
[http://search.cpan.org/dist/Date-Simple/]
License
Artistic-1.0 or GPL-2.0+
Maintainer del pacchetto downstream
Sconosciuto: non segnalato nella fonte indicizzata

The following binary packages are built from this source package:

Vulnerabilità note

Nessun avviso corrispondente nelle fonti monitorate.

Ultima sincronizzazione:

[Catalogo CVE]

Fonti

  • Authoritative source; repository metadata signature verified

    Prova della firma

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable