public class ShouldBeEqualIgnoringHours extends BasicErrorMessageFactory
ZonedDateTime
have same year,
month, and day fields failed.arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldBeEqualIgnoringHours(java.lang.Object actual,
java.lang.Object other) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeEqualIgnoringHours(java.lang.Object actual,
java.lang.Object other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldBeEqualIgnoringHours(java.lang.Object actual, java.lang.Object other)
public static ErrorMessageFactory shouldBeEqualIgnoringHours(java.lang.Object actual, java.lang.Object other)
ShouldBeEqualIgnoringHours
.actual
- the actual value in the failed assertion.other
- the value used in the failed assertion to compare the actual value to.ErrorMessageFactory
.