Free Support Forum - aspose.com

Multiple recurrence pattern for a single event

Hi,

Is it possible to create an event with multiple recurrance?

An example scenario will be like this:

Event: Audit Shop Floor -

Occurs as follows:
every monday,wednesday,thursday at 9 a.m. and 4 p.m.
every tuesday at 2 p.m. and 6 p.m.
every friday at 11 a.m.
every satday : 5 times at random hours but the intervals among these audits will be approximately the same.

How will I represent this using your iCalendar object?

Also, does you application let me query a set of instances or rather a set of date collection to search for a specific pattern?

Thanks much
Kanja


I think it should be possible. You are talking about one recurrence pattern with multiple recurrence rules. This is represented by the RecurrencePatterns.RRules. Just add several recurrence rules to that collection.

I'm not sure about "random" hours, there is no way to do this in iCalendar.

Not sure about your last question re "set of instances". I think you can only get a set of dates.