all options
wheezy  ] [  jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ Source: libtime-duration-perl  ]

Package: libtime-duration-perl (1.20-1)

Links for libtime-duration-perl

Screenshot

Debian Resources:

Download Source Package libtime-duration-perl:

Maintainers:

External Resources:

Similar packages:

module for rounded or exact English expression of durations

Time::Duration provides functions for expressing time spans in rounded or exact terms. So while

   say duration_exact(86399);

will correctly give "23 hours, 59 minutes, and 59 seconds",

   say ago(86399);

will output the rounded time span as "1 day ago".

The provided functions are duration(), ago(), from_now(), later() and earlier(), along with their *_exact counterparts. The precision used for rounding can be specified, and version 1.10 added a millisecond mode.

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

Other Packages Related to libtime-duration-perl

  • depends
  • recommends
  • suggests
  • enhances

Download libtime-duration-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 13.4 kB36.0 kB [list of files]