public class TimeWindowChecker
Checks if the current instant provided by the input clock falls within the provided time-window.
Constructor and Description |
---|
TimeWindowChecker(java.time.Clock clock)
Deprecated.
Checks if the current instant provided by the input clock falls within the provided time-window.
|
TimeWindowChecker()
Deprecated.
Checks if the current instant provided by the input clock falls within the provided time-window.
|
Modifier and Type | Method and Description |
---|---|
java.time.Clock |
getClock()
Deprecated.
|
boolean |
isValid(TimeWindow timeWindow)
Deprecated.
|
public TimeWindowChecker(java.time.Clock clock)
Checks if the current instant provided by the input clock falls within the provided time-window.
public TimeWindowChecker()
Checks if the current instant provided by the input clock falls within the provided time-window.
public boolean isValid(TimeWindow timeWindow)
public java.time.Clock getClock()