Toby Inkster > HTML-Microformats-0.105 > HTML::Microformats::Datatype::DateTime::Parser

Download:
HTML-Microformats-0.105.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.105   Source  

NAME ^

HTML::Microformats::Datatype::DateTime::Parser - parse ISO8601 datetimes

DESCRIPTION ^

This module is a moderately modified version of DateTime::Format::ISO8601.

It allows datetimes to be expressed with a somewhat looser syntax, especially support for whitespace between the date and time instead of a "T". It also calculates the "resolution" of the datetime (e.g. is it specified to year, month, day, hour, minute, second or nanosecond precision) which it places in $dt->{'resolution'}.

Other than that, it can be used exactly as DateTime::Format::ISO8601 can. It parses strings into normal DateTime objects.

BUGS ^

Please report any bugs to http://rt.cpan.org/.

SEE ALSO ^

HTML::Microformats::Datatype::DateTime, DateTime.

AUTHOR ^

Toby Inkster <tobyink@cpan.org>.

Based on DateTime::Format::ISO8601 by Joshua Hoblitt.

COPYRIGHT AND LICENCE ^

Copyright 2003-2005 Joshua Hoblitt

Copyright 2008-2012 Toby Inkster

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

DISCLAIMER OF WARRANTIES ^

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: