Parse string that represents time duration
Time::Duration::Parse is a module to parse human readable duration strings
like _2 minutes and 3 seconds_ to seconds.
It does the opposite of _duration_exact_ function in Time::Duration and is
roundtrip safe. So, the following is always true.
use Time::Duration::Parse;
use Time::Duration;
my $seconds = int rand 100000;
is( parse_duration(duration_exact($seconds)), $seconds );
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:ARM/perl-Time-Duration-Parse && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Time-Duration-Parse-0.15.tar.gz | 0000011735 11.5 KB | |
cpanspec.yml | 0000000547 547 Bytes | |
perl-Time-Duration-Parse.changes | 0000003172 3.1 KB | |
perl-Time-Duration-Parse.spec | 0000002199 2.15 KB |
Revision 13 (latest revision is 14)
Dominique Leuenberger (dimstar_suse)
accepted
request 703879
from
Stephan Kulow (coolo)
(revision 13)
Comments 0