Net::ICal::ETJ - iCalendar event, todo and journal entry base class
use Net::ICal::ETJ; my $c = new Net::ICal::ETJ(%arguments);
Net::ICal::ETJ represents iCalendar events, todo items and journal entries. It's a base class for N::I::Event, N::I::Todo, and N::I::Journal.
Casual users shouldn't ever need to actually make an ETJ object. The following documentation is for developers only.
Performs basic validation on a Net::ICal event, todo or journal object. Returns 1 for success, undef for failure.
Required properties include:
organizer
my $args = { attendee => new Net::ICal::Attendee('mailto:foo@example.com');
ok( $c->validate($args) , "Validation of simple, correct ETJ"); ok( not($c->validate()) , "ETJ with no organizer should fail");
Creates the ETJ object map using Class::MethodMapper
Given a period of time, determines occurences of an Event/Todo/Journal within that period. Returns an arrayref of... what exactly?
Net::ICal::Event, Net::ICal::Todo, Net::ICal::Journal, and if you want to understand *how* this module works, read the source. You'll need to understand how Class::MethodMapper works also.
More documentation pointers can also be found in Net::ICal.
To install Net::ICal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ICal
CPAN shell
perl -MCPAN -e shell install Net::ICal
For more information on module installation, please visit the detailed CPAN module installation guide.