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

Free Support Forum - aspose.com

Recurrence StartDate Issue

As per the bug fix list for the latest version of the Aspose.Email DLL,

EMAILNET-34790 Task start date preferred over monthly recurrence Day value

This does not appear to be the case. An example would be to setup a recurring appointment to repeat the first Monday of every month starting on 7/2/2015. The retuned dates from the GenerateOccurrences method are “7/2/2015” and “7/6/2015”. The first date does not correspond to a Monday and therefore should not be returned in the result set.

Here is the sample code:
Dim sPattern As String = “DTSTART;TZID=US-Eastern:20150702T143000Z” + Environment.NewLine +
“DTEND;TZID=US-Eastern:20150702T150000Z” + Environment.NewLine +
Dim rStart As Date = CDate(“06/30/2015 14:30:00”)
Dim rEnd As Date = CDate(“08/02/2015 15:00:00”)

    Dim license As Aspose.Email.License = New Aspose.Email.License()
    Dim recur As New Aspose.iCalendar.RecurrencePattern(sPattern)
    Dim recurDates As Aspose.iCalendar.DateCollection = recur.GenerateOccurrences(rStart, rEnd)

Hi Edward,

Thank you for writing to Aspose support team.

I have reproduced the scenario of wrong recurrence start date and have logged it in bug tracking system as id: EMAILNET-34843 for further investigation by the product team. I shall write here as soon as some feedback is received in this regard.

The issues you have found earlier (filed as EMAILNET-34843) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.