The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Weather::YR::Parser - Helps to parse special types of data.

DESCRIPTION

This module is a helper to parse different types of data, such as dates.

METHODS

parse_date(STRING)

This method parses a date string and returns a object reference to an instance of DateTime.

It takes the timestamp in the following format: YYYY-MM-DD HH:MM:SS

parse_date_iso8601

This method parses a date string and returns a object reference to an instance of DateTime.

It takes the timestamp in the format specified in ISO 8601.

Example: 2008-03-16T10:49:13Z

SEE ALSO

AUTHOR

Knut-Olav, <knut-olav@hoven.ws>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Knut-Olav Hoven

This library is free software; you can redireibute it and/or modify it under the terms as GNU GPL version 2.