Dmitry Smal > DateTime-Format-Duration-XSD-0.01 > DateTime::Format::Duration::XSD

Download:
DateTime-Format-Duration-XSD-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

DateTime::Format::Duration::XSD

SYNOPSIS ^

  use DateTime::Format::Duration::XSD;
  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.

syntax highlighting: