summaryrefslogtreecommitdiffstats
path: root/pykolab/xml/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/xml/event.py')
-rw-r--r--pykolab/xml/event.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index 5633d0d..31ea476 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -644,6 +644,13 @@ class Event(object):
return None
+ def get_ical_rrule(self):
+ result = []
+ rrule = self.get_recurrence()
+ if rrule.isValid():
+ result.append(rrule.to_ical())
+ return result
+
def get_location(self):
return self.event.location()