Data::ICal::Property - Represents a property on an entry in an iCalendar file


NAME

Data::ICal::Property - Represents a property on an entry in an iCalendar file


=head1 DESCRIPTION

A the Data::ICal::Property manpage object represents a single property on an entry in an iCalendar file.

You shouldn't need to access the Data::ICal::Property manpage values directly -- just use add_property in the Data::ICal::Entry manpage.


METHODS

new $key, $value, [$parameter_hash]

Creates a new the Data::ICal::Property manpage with key $key and value $value.

If $parameter_hash is provided, sets the property's parameters to it. The parameter hash should have keys equal to the names of the parameters (case insensitive; parameter hashes should not contain two different keys which are the same when converted to upper case); the values should either be a string if the parameter has a single value or an array reference of strings if the parameter has multiple values.

key [$key]

Gets or sets the key name of this property.

value [$value]

Gets or sets the value of this property.

parameters [$param_hash]

Gets or sets the parameter hash reference of this property.

as_string

Returns the property formatted as a string (including trailing newline).

 Data::ICal::Property - Represents a property on an entry in an iCalendar file