icalendar.prop.dt.list module#
- class icalendar.prop.dt.list.vDDDLists(dt_list, params=None)[source]#
Bases:
objectA list of vDDDTypes values.
- property dt: TimeBase#
Return the time/date value of the list.
This is a compatibility method for the vDDDTypes interface.
- Returns:
The first value of the list.
- Raises:
IndexError – If the list is empty.
- classmethod from_jcal(jcal_property)[source]#
Parse jCal from RFC 7265.
- Parameters:
jcal_property (
list) – The jCal property to parse.- Raises:
JCalParsingError – If the jCal provided is invalid.
- Return type:
- classmethod from_xcal(xml)[source]#
Parse xCal according to RFC 6321.
- Parameters:
parser – Required. The xCal to parse or a parser.
params – Required. The parameters of the xCal element.
- Raises:
XCalParsingError – If the provided xCal is invalid.
- Return type:
VProp
- params: Parameters#