We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

RecurrencePattern.EndDate?

Using iCalendar, is there a way to specify the duration of what recurs? For instance, I would like to express the following:

The 15th of every month, from 10:00 a.m. to 10:30 a.m.

Hi,

Use the following properties for this purpose:

* [RecurrencePattern.StartDate](http://www.aspose.com/documentation/utility-components/aspose.icalendar-for-.net/aspose.icalendar.recurrencepattern.startdate.html)
* [RecurrenceRule.EndType](http://www.aspose.com/documentation/utility-components/aspose.icalendar-for-.net/aspose.icalendar.recurrencerule.endtype.html)
* [**RecurrenceRule.Until**](http://www.aspose.com/documentation/utility-components/aspose.icalendar-for-.net/aspose.icalendar.recurrencerule.until.html)
* [RecurrenceRule.Count](http://www.aspose.com/documentation/utility-components/aspose.icalendar-for-.net/aspose.icalendar.recurrencerule.count.html)

Hi,

There is no possibility to set a time interval in a rule. There is a possibility to set values of time only (RecurrenceRule.ByHour, RecurrenceRule.ByMinute ...):

DTSTART:20040101T000000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=15;BYHOUR=10;BYMINUTE=0,30