The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DateTime::Format::Duration::DurationString - JIRA style parsing of duration

VERSION

Version 0.02

SYNOPSIS

package MyApp;
use DateTime::Format::Duration::DurationString;

DESCRIPTION

DateTime::Format::Duration::DurationString parses a string and returns a duration.

to_seconds

Return this object as seconds

to_duration

Return this object as a DateTime::Duration

parse

Parse a string

SEE ALSO

DateTime, DateTime::Duration and DateTime::Format::Duration

AUTHOR

Bjørn-Olav Strand <bo@startsiden.no>

LICENSE

Copyright 2009 by ABC Startsiden AS, Bjørn-Olav Strand <bo@startsiden.no>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.