intersect
fun intersect(left: TimeInterval, right: TimeInterval? = definedExternally, result: TimeInterval? = definedExternally, mergeCallback: MergeCallback? = definedExternally): TimeInterval(source)
Computes the intersection of two intervals, optionally merging their data.
Return
The modified result parameter.
Parameters
left
The first interval.
right
The second interval.
result
An existing instance to use for the result.
mergeCallback
A function which merges the data of the two intervals. If omitted, the data from the left interval will be used.