CalendarRecurrence.GenerateOccurrences
Contents
[
Hide
]GenerateOccurrences()
Generates the occurrences.
public DateCollection GenerateOccurrences()
Return Value
Collection of datesDateCollection
.
Exceptions
exception | condition |
---|---|
Exception | throws if StartDate is not set. |
See Also
- class DateCollection
- class CalendarRecurrence
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email
GenerateOccurrences(int)
Generates n next occurrences.
public DateCollection GenerateOccurrences(int nNextOccurrences)
Parameter | Type | Description |
---|---|---|
nNextOccurrences | Int32 | The amount of needed occurrences. |
Return Value
Collection of datesDateCollection
.
Exceptions
exception | condition |
---|---|
Exception | throws if StartDate is not set. |
ArgumentOutOfRangeException | throws if amount of needed occurrences is less or equal zero. |
See Also
- class DateCollection
- class CalendarRecurrence
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email
GenerateOccurrences(DateTime, DateTime)
Generates the occurrences.
public DateCollection GenerateOccurrences(DateTime rangeStart, DateTime rangeEnd)
Parameter | Type | Description |
---|---|---|
rangeStart | DateTime | The range start. |
rangeEnd | DateTime | The range end. |
Return Value
Collection of datesDateCollection
.
Exceptions
exception | condition |
---|---|
Exception | throws if StartDate is not set |
See Also
- class DateCollection
- class CalendarRecurrence
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email
GenerateOccurrences(DateTime, DateTime, int)
Generates n next occurrences.
public DateCollection GenerateOccurrences(DateTime rangeStart, DateTime rangeEnd,
int nNextOccurrences)
Parameter | Type | Description |
---|---|---|
rangeStart | DateTime | The range start. |
rangeEnd | DateTime | The range end. |
nNextOccurrences | Int32 | The amount of needed occurrences. |
Return Value
Collection of datesDateCollection
.
Exceptions
exception | condition |
---|---|
Exception | throws if StartDate is not set. |
ArgumentOutOfRangeException | throws if amount of needed occurrences is less or equal zero. |
See Also
- class DateCollection
- class CalendarRecurrence
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email