untilOnly

fun untilOnly(untilTime: Instant): TimeWindow

Creates a TimeWindow with null fromTime, i.e. the time interval (∞, untilTime). midpoint will return null.