class TimestampChecker
Checks if the given timestamp falls within the allowed tolerance interval
<init> |
TimestampChecker(clock: Clock = Clock.systemUTC(), tolerance: Duration = 30.seconds) Checks if the given timestamp falls within the allowed tolerance interval |
clock |
val clock: Clock |
tolerance |
val tolerance: Duration |
isValid |
fun isValid(timestampCommand: TimestampCommand): Boolean |