DateTime::Format::ICal - Parse and format iCal datetime and duration strings


NAME

DateTime::Format::ICal - Parse and format iCal datetime and duration strings

Back to Top


SYNOPSIS

  use DateTime::Format::ICal;
  my $dt = DateTime::Format::ICal->parse_datetime( '20030117T032900Z' );
  my $dur = DateTime::Format::ICal->parse_duration( '+P3WT4H55S' );
  # 20030117T032900Z
  DateTime::Format::ICal->format_datetime($dt);
  # +P3WT4H55S
  DateTime::Format::ICal->format_duration($dur);

Back to Top


DESCRIPTION

This module understands the ICal date/time and duration formats, as defined in RFC 2445. It can be used to parse these formats in order to create the appropriate objects.

Back to Top


METHODS

This class offers the following methods.

Back to Top


SUPPORT

Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details.

Back to Top


AUTHORS

Dave Rolsky <autarch@urth.org> and Flavio Soibelmann Glock <fglock@pucrs.br>

Some of the code in this module comes from Rich Bowen's Date::ICal module.

Back to Top


COPYRIGHT

Copyright (c) 2003 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Back to Top


SEE ALSO

datetime@perl.org mailing list

http://datetime.perl.org/

Back to Top

 DateTime::Format::ICal - Parse and format iCal datetime and duration strings