kotlin.time.Duration, with arguments such as 15.minutes,
and java.time.Duration, with arguments such as Duration.ofDays(1).
A
null argument checks nothing. A rule that reads a value that may be missing, such as max(customer.limit),
never fails because of it: required on that value reports it once.Meeting.kt
min
min(min) on kotlin.time.Duration, java.time.Duration
Checks that the duration is at least min.
min
max
max(max) on kotlin.time.Duration, java.time.Duration
Checks that the duration is at most max.
max
greaterThan
greaterThan(other) on kotlin.time.Duration, java.time.Duration
Checks that the duration is greater than other.
greaterThan
lessThan
lessThan(other) on kotlin.time.Duration, java.time.Duration
Checks that the duration is less than other.
lessThan
between
between(min, max) on kotlin.time.Duration, java.time.Duration
Checks that the duration is between min and max, both included.
between