TimeDomain
class in io.proptastic
class TimeDomainTimes of day, LocalTimes: times().atLeast(LocalTime.of(9, 0)).every( Duration.ofMinutes(15)). Whole seconds most tries, a fraction of a second one try in 8; a
counterexample shrinks toward midnight, or the bound nearest it, its fraction first (decision
81).
Methods
atLeast
TimeDomain atLeast(LocalTime time)time or later.
atMost
TimeDomain atMost(LocalTime time)time or sooner.
greaterThan
TimeDomain greaterThan(LocalTime time)Later than time.
lessThan
TimeDomain lessThan(LocalTime time)Sooner than time.
every
TimeDomain every(Duration step)Only times a whole number of steps from midnight: .every(Duration.ofMinutes(15)). The step must divide a day.