Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerCustomRecurrenceInfo.GetEndDate Method

Returns the end date of the chain of occurrences.

#Declaration

Delphi
function GetEndDate: TDateTime;

#Returns

Type
TDateTime

#Remarks

The value returned by the method depends upon the Count property value:

  • the value is greater than 0 (End after) – the GetEndDate method returns the end date of the last occurrence the Count property specifies (see the TcxSchedulerOccurrenceCalculator.OccurrenceFinish property);

  • the value is 0 (End by) – the GetEndDate method returns the date bound specified by the Finish property when the last occurrence will reoccur;

  • the value is -1 (No end date) – the GetEndDate method returns the value of the cxDateUtils.NullDate constant.

See Also