RecurrenceRuleGetNextDates

Description

Takes a RecurrenceRule and find its next occurrences starting from a specific date (StartDate) with the same logic used for the Triggers. It is possible to specify the maximum number of dates to return or the date when to stop searching for new dates. If nothing is specified DocsMarshal will return all the occurrences in 5 years.


Input

LastNextDate InArgument<DateTime>

The date when to stop searching for new dates (inclusive).

NextDatesCount InArgument<Int32>

The number of dates to return.

RecurrenceRule InArgument<IRecurrenceRule> REQUIRED

The recurrence rule.

StartDate InArgument<DateTime> REQUIRED

The date whose subsequent dates you want to get.


Output

The next time the rule recurs.

NextDates OutArgument<List<DateTime>>

The next dates the rule recurs.