TimeInterval.Contains(TimeInterval) Method
Determines whether the current time interval contains the specified time interval.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public bool Contains(
TimeInterval interval
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A Time |
#Returns
Type | Description |
---|---|
Boolean | true if the current time interval contains the specified time interval; otherwise, false. |
#Remarks
The current time interval is supposed to contain the specified time interval, if the TimeInterval.Start property value of the specified time interval isn’t less than the TimeInterval.Start of the current time interval, and the TimeInterval.End property value of the specified time interval isn’t greater than the TimeInterval.End property value of the current time interval.