RecurrenceInfo(DateTime, DateTime) Constructor
Initializes a new instance of the RecurrenceInfo class with the specified start date and end date.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
start | DateTime | A DateTime value that specifies the start date of the recurrence. This value is assigned to the RecurrenceInfo.Start property. |
end | DateTime | A DateTime value that specifies the end date of the recurrence. This value is assigned to the RecurrenceInfo.End property. |
Remarks
In this case the RecurrenceInfo.OccurrenceCount property will be set to 1, the RecurrenceInfo.Range property will be set to RecurrenceRange.EndByDate, and the RecurrenceInfo.Month and RecurrenceInfo.DayNumber properties will be set to the month and day specified by the RecurrenceInfo.Start property, respectively.
Note: The start should be less than or equal to the end.