[ 源代码: libtime-duration-perl ]
软件包:libtime-duration-perl(1.20-1)
libtime-duration-perl 的相关链接
Debian 的资源:
下载源码包 libtime-duration-perl:
- [libtime-duration-perl_1.20-1.dsc]
- [libtime-duration-perl_1.20.orig.tar.gz]
- [libtime-duration-perl_1.20-1.debian.tar.xz]
维护小组:
- Debian Perl Group (QA 页面, 邮件存档)
- Ivan Kohler (QA 页面)
- gregor herrmann (QA 页面)
- Xavier Guimard (QA 页面)
- Florian Schlichting (QA 页面)
外部的资源:
- 主页 [metacpan.org]
相似软件包:
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.