contains

fun <T> Interval<T>.contains(value: T?): Boolean

Checks if this interval contains value.

This will always return false if value is null.

operator fun <T : TimePoint<T>> TimePointInterval<T>.contains(value: TimePoint<*>?): Boolean

Checks if this interval contains value. This will always return false if value is null.