Which pattern gives the functionality of "last day of month"?

Hi,

I don't find a way to support the following Outlook recurrence examples while using Aspose.iCalendar.
Maybe someone can help?

1. The last Monday of every Month
2. The last Monday of April

Thanks,
Nir

DTSTART:20000101T000000 RRULE:FREQ=MONTHLY;COUNT=10;BYDAY=-1MO

BYDAY=MO will give you every Monday
BYDAY=-1MO will give you the last Monday in each MONTHLY interval.

To limit this to April, set proper DTSTART:20050401 and use UNTIL=20050430 instead of COUNT.