We are having difficulties using RecurrencePattern class in our .net 3.5 projects. If we set the pattern like the following
DTSTART:19110507T010000Z
RRULE:FREQ=MINUTELY;INTERVAL=120
Code Example: DateCollection occurences = recurrencePattern.GenerateOccurrences(start, end);
In our code uses the start date and end date from now on to get next 5 occurances it unresponsive for long time.. actually seems forever.
if we change the date in like
DTSTART:20110507T010000Z
RRULE:FREQ=MINUTELY;INTERVAL=120
it returns immidiately.
We tried to set the RecurrencePattern.StartDate = Datetime.Now but it dosn't work and executes the code indefintely.
Can someone provide an solution with example in .net how we can override the start date other than DTSDATE.
We are currently setting startdate = datetime.now and enddate is added based on the minutes interval we pass in the pattern for next 5 times.
What we want is the RecurrencePattern should loop from now and number of times in future we decide so that it uses less CPU to calculate the pattern.
FYI:::
The Aspose DLL file version is 4.6.0.1 which a licensed version bought for the company Factonomy Ltd.