class TimeWindowChecker
Checks if the current instant provided by the input clock falls within the provided time-window.
<init> |
Checks if the current instant provided by the input clock falls within the provided time-window. TimeWindowChecker(clock: Clock = Clock.systemUTC()) |
clock |
val clock: Clock |
isValid |
fun isValid(timeWindow: TimeWindow): Boolean |