Package Info

perl-Time-Duration-Parse


Parse string that represents time duration


Unspecified

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 Time::Duration/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 );


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/Time-Duration-Parse

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.16-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.16-bp155.2.11 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.16-bp154.1.26 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.13-bp153.1.12 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.13-bp152.3.17 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.13-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.13-bp151.2.12 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse
0.13-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Duration-Parse