Function

CMTimeRangeContainsTimeRange

Returns a Boolean that indicates whether a given time range is contained within another time range.

Declaration

Boolean CMTimeRangeContainsTimeRange(CMTimeRange range, CMTimeRange otherRange);

Parameters

range1

The CMTimeRange being interrogated.

range2

CMTimeRange to be tested for inclusion.

Return Value

Returns true if the second time range is contained within the first time range, false if it is not.

Discussion

This function returns a Boolean value that indicates whether the time range specified by the range1 parameter contains the range specified by the range2 parameter.

See Also

Comparing Time Ranges

CMTimeRangeEqual

Returns a Boolean value that indicates whether two CMTimeRanges are identical.

CMTimeRangeContainsTime

Indicates whether a time is contained within a time range.