Skip to main content

ASPxClientTimeInterval.Contains(interval) Method

Client-side function that determines whether the specified interval is contained within the current one.

Declaration

Contains(
    interval: ASPxClientTimeInterval
): boolean

Parameters

Name Type Description
interval ASPxClientTimeInterval

An ASPxClientTimeInterval object, representing the time interval to check.

Returns

Type Description
boolean

true if the specified interval is located within the current one; otherwise, false.

Remarks

An interval is contained within another if its start time is greater than or equal to the container’s, and the end time is less than or equal to the container’s.

See Also