NAME
Data::ICal::Property - Represents a property on an entry in an iCalendar file
DESCRIPTION
A Data::ICal::Property object represents a single property on an entry in an iCalendar file.
You shouldn't need to access Data::ICal::Property values directly -- just use add_property
in Data::ICal::Entry.
METHODS
new $key, $value, [$parameter_hash]
Creates a new Data::ICal::Property 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).