corda / net.corda.core.node.services / TimeWindowChecker

TimeWindowChecker

class TimeWindowChecker
Deprecated: This class is no longer used

Checks if the current instant provided by the input clock falls within the provided time-window.

Constructors

<init>

TimeWindowChecker(clock: Clock = Clock.systemUTC())

Checks if the current instant provided by the input clock falls within the provided time-window.

Properties

clock

val clock: Clock

Functions

isValid

fun isValid(timeWindow: TimeWindow): Boolean

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.