public class ShouldHaveSameHourAs extends BasicErrorMessageFactory
ZonedDateTime have same year,
month, day and hour fields failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHaveSameHourAs(java.time.temporal.Temporal actual,
java.time.temporal.Temporal other) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveSameHourAs(java.time.temporal.Temporal actual,
java.time.temporal.Temporal other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldHaveSameHourAs(java.time.temporal.Temporal actual,
java.time.temporal.Temporal other)
public static ErrorMessageFactory shouldHaveSameHourAs(java.time.temporal.Temporal actual, java.time.temporal.Temporal other)
ShouldHaveSameHourAs.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.