NAME
DateTime::Format::Duration::XSD
SYNOPSIS
my
$dfdx
= DateTime::Format::Duration::XSD->new();
my
$duration_object
=
$dfdx
->parse_duration(
'-P1Y2M3DT1H2M3.33S'
);
my
$xsd_duration
=
$dfdx
->format_duration(
$duration_object
);
DESCRIPTION
DateTime::Format::Duration::XSD - Formats and parses DateTime::Duration according to xs:duration
SEE ALSO
DateTime, DateTime::Duration, DateTime::Format::XSD
The XML Schema speficitation
AUTHOR
Smal D A, <mialinx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Smal D A
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.