intersectionWith

fun intersectionWith(that: DateTimeRange, rightOpen: Boolean = true): DateTimeRange?

Returns new DateTimeRange or null - the result of intersection of this and that DateTimeRanges.