DateTime::Format::ICal(3pm) User Contributed Perl Documentation DateTime::Format::ICal(3pm)

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

  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);

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.

This class offers the following methods.

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

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.

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.

datetime@perl.org mailing list

http://datetime.perl.org/

2022-06-13 perl v5.34.0