NAME

Net::ICal::FreebusyItem -- represent the FREEBUSY property for VFREEBUSYs

SYNOPSIS

use Net::ICal;

my $p1 = new Net::ICal::Period("19970101T120000","19970101T123000");
my $p2 = new Net::ICal::Period("19970101T133000","19970101T140000");

my $item1 = new Net::ICal::FreebusyItem($p1, (fbtype => 'BUSY'));
my $item2 = new Net::ICal::FreebusyItem($p2, (fbtype => 'BUSY'));

# TODO: we ought to be able to do things like:
  my $item3 = new Net::ICal::FreebusyItem([$p1, $p2], (fbtype => 'BUSY'));
# so that both items show up on the same line. 

DESCRIPTION

FreebusyItems are used to mark sections of time that are free to be scheduled or that are already busy.

CONSTRUCTORS

new ($period, %options)

$period is a Net::ICal::Period object. In the future, this will change to be an array of Periods. Valid keys for the options hash are:

  • fbtype - can be BUSY, FREE, BUSY-UNAVAILABLE, or BUSY-TENTATIVE; defaults to BUSY. BUSY means there's already something scheduled in this time slot. FREE means that this time slot is open. BUSY-UNAVAILABLE means that this time slot can't be scheduled. BUSY-TENTATIVE means that this time slot has something tentatively scheduled for it.

SEE ALSO

Net::ICal::Period; Net::ICal::Freebusy. There are a lot of semantics to handling these for real usage; see RFC2445.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 138:

You forgot a '=back' before '=head1'