fromStartAndDuration

fun fromStartAndDuration(fromTime: Instant, duration: Duration): TimeWindow

Creates a TimeWindow with the time interval [fromTime, fromTime + duration). midpoint will return fromTime + duration / 2