[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#313636: RFA: libtime-piece-perl -- Perl module for object oriented time objects



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: wnpp
Severity: normal

Package: libtime-piece-perl
Priority: optional
Section: perl
Installed-Size: 128
Maintainer: Luk Claes <luk.claes@ugent.be>
Architecture: i386
Version: 1.08-3
Depends: perlapi-5.8.2, perl (>= 5.8.2-2), libc6 (>= 2.3.2.ds1-4)
Filename:
pool/main/libt/libtime-piece-perl/libtime-piece-perl_1.08-3_i386.deb
Size: 25834
MD5sum: 138e6e2e39f956ba3f87821648962173
Description: Perl module for object oriented time objects
 This module replaces the standard localtime and gmtime functions with
 implementations that return objects.  It does so in a backwards
 compatible manner, so that using localtime/gmtime in the way
 documented in perlfunc will still return what you expect.
 .
 Time::Piece does the right thing with the return value from
 localtime:
 .
   - in list context it returns a list of values
 .
   - in scalar context it returns a Time::Piece object
 .
   - when stringified (or printed), Time::Piece objects look like the
     output from scalar(localtime)
 .
 Beyond that, Time::Piece objects allow you to get any part of the
 date/time via method calls, plus they allow you to get at the string
 form of the week day and month.  It has methods for julian days, and
 some simple date arithmetic options.
 .
 Time::Piece also gives you easy access to your C library's strftime
 and strptime functions, so you can parse and output locale sensitive
 dates to your heart's content :-)

Cheers

Luk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCryXm5UTeB5t8Mo0RApQCAKCPu2RJgJkafMh5zfg3p28gZ5KpRwCgr/eA
qMpKD+38EtNFAKFFIqCg6dw=
=nrno
-----END PGP SIGNATURE-----



Reply to: