corda / net.corda.testing.dsl / TransactionDSL / timeWindow

timeWindow

@JvmOverloads fun timeWindow(time: Instant, tolerance: Duration = 30.seconds): Unit

Sets the TimeWindow of the transaction.

Parameters

time - The Instant of the TimeWindow.

tolerance - The tolerance of the TimeWindow.