TcxSchedulerDateTimeHelper.Intersect(TDateTime,TDateTime,TDateTime,TDateTime) Method
In This Article
Determines whether the time interval defined by the AStart1 or AFinish1 datetimes overlaps with the time interval defined by the AStart and AFinish (inclusive) datetimes.
#Declaration
Delphi
#Parameters
Name | Type |
---|---|
AStart | TDate |
AFinish | TDate |
AStart1 | TDate |
AFinish1 | TDate |
#Returns
Type |
---|
Boolean |
#Remarks
The Intersect method returns True if the above time intervals share, at the very least, a single date.
The AStart and AFinish parameters specify the dates of the time interval that is overlapped by the time interval with the AStart1 or AFinish1 time bounds;
The AStart1 and AFinish1 parameters specify the dates of the time interval that overlaps the time interval with the AStart or AFinish time boundaries.
See Also