Linux temps réel embarqué et outils de développements Technique


libtime-piece-perl Perl module for object oriented time objects
Installed size 128
Maintainer Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Architecture i386
Version 1.11-2
Depends perl (>= 5.8.8-6.1), perlapi-5.8.8, libc6 (>= 2.3.6-6)
Suggests libtiff-opengl
File name pool/main/libt/libtime-piece-perl/libtime-piece-perl_1.11-2_i386.deb
Description 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 :-)

©M.N.I.S Société | Produits | Services | Formations | Support | Partenariat | Presse | Téléchargements ©M.N.I.S