Net::ICal::ETJ - iCalendar event, todo and journal entry base class |
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:
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
occurrences($reqperiod)
Given a period of time, determines occurences of an Event/Todo/Journal within that period. Returns an arrayref of... what exactly?
the Net::ICal::Event manpage, the Net::ICal::Todo manpage, the Net::ICal::Journal manpage, and if you want to understand *how* this module works, read the source. You'll need to understand how the Class::MethodMapper manpage works also.
More documentation pointers can also be found in the Net::ICal manpage.
Net::ICal::ETJ - iCalendar event, todo and journal entry base class |