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


Weather-YR documentation  | view source Contained in the Weather-YR distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

METHODS

Top

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

Top

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


Weather-YR documentation  | view source Contained in the Weather-YR distribution.