[Vobject] EXDATE problem
jeffrey at osafoundation.org
Wed Feb 11 15:22:36 CST 2009
> clip of the code is
> parsedICAL = vobject.readOne(x)
> print val.vevent.exdate
> but how can i access the next EXDATE element
The .exdate form accesses the first of multiple elements, for
convenience. If you want the full list, append _list, so:
will do what you want.
Note that if you access
the resulting dateutil rruleset will know about all your exdates, so if
you just want to expand the rule, you can just iterate over that and not
fiddle with individual bits associated with the recurrence rule.
More information about the VObject