开发者

Getting a list of occurrences for a given vCalendar

开发者 https://www.devze.com 2023-04-12 11:06 出处:网络
I\'m trying to use vobject, without success, to get a list of datetime objects for all event occurrences (see the RRULE paramether that sets the event to be repeated daily until a date) for a given vC

I'm trying to use vobject, without success, to get a list of datetime objects for all event occurrences (see the RRULE paramether that sets the event to be repeated daily until a date) for a given vCalendar, which seems to be well-formatted (apparently):

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:iCalendar-Ruby
VERSION:2.0
BEGIN:VEVENT
DTEND:20110325T200000
DTSTAMP:20110926T1开发者_高级运维35132
DTSTART:20110325T080000
EXDATE:
RRULE:FREQ=DAILY;UNTIL=20110331;INTERVAL=1
SEQUENCE:0
UID:2011-09-26T13:51:32+02:00_944954531@cultura0306.gnuine.com
END:VEVENT
END:VCALENDAR

Documentation is not really friendly, and google results are scarce...Any idea or example? (the example can be for vobject or any other library or method).

Thanks!

H.

0

精彩评论

暂无评论...
验证码 换一张
取 消