I am having a braincramp day, I am trying to set a yearly recurrence as such:
rule.requency = Frequency.yearly
rule.Interval = 1
rule.ByMonth(4) ’ For April
Dim oint as integer = 2
Dim oday as System.DayOfWeek = System.DayOfWeek.Tuesday
Dim odays As Aspose.icalendar.ByDay = New Aspose.iCalendar.ByDay(oint, oday)rule.ByDay.Add(odays)
rule.count = 10
I basically want a yearly recurrence on the Second Tuesday of April for 10 ocuurences. When the generateoccurrences() method is processed I am only returning one date. What am I doing wrong here?
Rick