计算每天的重复结束日期

时间:2012-11-09 15:11:40

标签: c# icalendar dday

我想用DDAY.Ical库获取重复事件的结束日期。有可能吗?

例如我有这段代码:

            calendar = new iCalendar();
            event = new Event();
            rp = new RecurrencePattern("RRULE:FREQ=DAILY;COUNT=10");
            event.RecurrenceRules.Add(rp);
            rp.Parameters.
            event.DTStart = new iCalDateTime(DTToday);
            calendar.Events.Add(event);
            event.GetOccurrences(new iCalDateTime(DTTomorrow));

我想要event.DTEnd以及此行的出现

  event.GetOccurrences(new iCalDateTime(DTTomorrow));

0 个答案:

没有答案