CalendarRecurrence.GenerateOccurrences

GenerateOccurrences()

Generates the occurrences.

public DateCollection GenerateOccurrences()

Return Value

Collection of datesDateCollection.

Exceptions

exceptioncondition
Exceptionthrows if StartDate is not set.

See Also


GenerateOccurrences(int)

Generates n next occurrences.

public DateCollection GenerateOccurrences(int nNextOccurrences)
ParameterTypeDescription
nNextOccurrencesInt32The amount of needed occurrences.

Return Value

Collection of datesDateCollection.

Exceptions

exceptioncondition
Exceptionthrows if StartDate is not set.
ArgumentOutOfRangeExceptionthrows if amount of needed occurrences is less or equal zero.

See Also


GenerateOccurrences(DateTime, DateTime)

Generates the occurrences.

public DateCollection GenerateOccurrences(DateTime rangeStart, DateTime rangeEnd)
ParameterTypeDescription
rangeStartDateTimeThe range start.
rangeEndDateTimeThe range end.

Return Value

Collection of datesDateCollection.

Exceptions

exceptioncondition
Exceptionthrows if StartDate is not set

See Also


GenerateOccurrences(DateTime, DateTime, int)

Generates n next occurrences.

public DateCollection GenerateOccurrences(DateTime rangeStart, DateTime rangeEnd, 
    int nNextOccurrences)
ParameterTypeDescription
rangeStartDateTimeThe range start.
rangeEndDateTimeThe range end.
nNextOccurrencesInt32The amount of needed occurrences.

Return Value

Collection of datesDateCollection.

Exceptions

exceptioncondition
Exceptionthrows if StartDate is not set.
ArgumentOutOfRangeExceptionthrows if amount of needed occurrences is less or equal zero.

See Also