withNewInterval

open override fun withNewInterval(i: Interval): Connection<FROM, TO>

Creates a new object that is identical except that it exists on a different interval.