etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: libtime-piece-perl  ]

Package: libtime-piece-perl (1.15-1)

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 :-)

Tags: Software Development: Perl Development, Libraries, Implemented in: Perl, Role: Shared Library

Packages providing libtime-piece-perl

perl
Larry Wall's Practical Extraction and Report Language

Other Packages Related to libtime-piece-perl

  • depends
  • recommends
  • suggests
  • dep: libc0.1 (>= 2.3) [kfreebsd-amd64, kfreebsd-i386]
    GNU C Library: Shared libraries
    also a virtual package provided by libc0.1-udeb
  • dep: libc0.3 (>= 2.9) [hurd-i386]
    GNU C Library: Shared libraries
    also a virtual package provided by libc0.3-udeb
  • dep: libc6 (>= 2.1.3) [i386, powerpc, s390]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.2) [hppa, mips, mipsel]
    dep: libc6 (>= 2.2.5) [amd64]
    dep: libc6 (>= 2.4) [armel]
    dep: libc6 (>= 2.5) [avr32]
    dep: libc6 (>= 2.5-5) [m68k]
    dep: libc6 (>= 2.6) [sparc]
  • dep: libc6.1 (>= 2.1.3) [alpha]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
    dep: libc6.1 (>= 2.2) [ia64]
  • dep: perl (>= 5.10.0-19) [hurd-i386, kfreebsd-amd64, kfreebsd-i386, m68k]
    Larry Wall's Practical Extraction and Report Language
    dep: perl (>= 5.10.0-22~avr32cross+abi.0) [avr32]
    dep: perl (>= 5.10.0-23) [not avr32, hurd-i386, kfreebsd-amd64, kfreebsd-i386, m68k]
  • dep: perlapi-5.10.0
    virtual package provided by perl-base

Download libtime-piece-perl

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 32.2 kB144 kB [list of files]
amd64 31.2 kB136 kB [list of files]
armel 31.3 kB132 kB [list of files]
avr32 (unofficial port) 29.6 kB128 kB [list of files]
hppa 33.0 kB140 kB [list of files]
hurd-i386 31.5 kB132 kB [list of files]
i386 31.4 kB132 kB [list of files]
ia64 35.8 kB160 kB [list of files]
kfreebsd-amd64 31.7 kB98 kB [list of files]
kfreebsd-i386 31.5 kB96 kB [list of files]
m68k (unofficial port) 31.7 kB136 kB [list of files]
mips 29.9 kB140 kB [list of files]
mipsel 30.4 kB140 kB [list of files]
powerpc 34.3 kB140 kB [list of files]
s390 31.0 kB132 kB [list of files]
sparc 30.8 kB132 kB [list of files]