isValidAt

fun isValidAt(nowMillis: Long = System.currentTimeMillis()): Boolean

true when nowMillis falls inside this offer's validity window. Unbounded ends are treated as always-valid.

Parameters

nowMillis

wall-clock time to test, defaulting to the current time.