public class ShouldBeInSameMinuteWindow extends BasicErrorMessageFactory
Date
is in minute window as
another one failed.arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldBeInSameMinuteWindow(java.util.Date actual,
java.util.Date other) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeInSameMinuteWindow(java.util.Date actual,
java.util.Date other)
Creates a new
ShouldBeInSameMinuteWindow . |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldBeInSameMinuteWindow(java.util.Date actual, java.util.Date other)
public static ErrorMessageFactory shouldBeInSameMinuteWindow(java.util.Date actual, java.util.Date other)
ShouldBeInSameMinuteWindow
.actual
- the actual value in the failed assertion.other
- the value used in the failed assertion to compare the actual value to.ErrorMessageFactory
.