public class ShouldBeEqualIgnoringMinutes extends BasicErrorMessageFactory
ZonedDateTime have same year,
month, day and hour fields failed.
Creates an error message indicating that an assertion that verifies that :
ZonedDateTime, LocalDateTime have same year, month, day, hour fields failed.LocalTime have same hour failed.OffsetTime have same hour failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldBeEqualIgnoringMinutes(java.time.LocalTime actual,
java.time.LocalTime other) |
private |
ShouldBeEqualIgnoringMinutes(java.lang.Object actual,
java.lang.Object other) |
private |
ShouldBeEqualIgnoringMinutes(java.time.OffsetTime actual,
java.time.OffsetTime other) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeEqualIgnoringMinutes(java.time.LocalTime actual,
java.time.LocalTime other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeEqualIgnoringMinutes(java.lang.Object actual,
java.lang.Object other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeEqualIgnoringMinutes(java.time.OffsetTime actual,
java.time.OffsetTime other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldBeEqualIgnoringMinutes(java.lang.Object actual,
java.lang.Object other)
private ShouldBeEqualIgnoringMinutes(java.time.LocalTime actual,
java.time.LocalTime other)
private ShouldBeEqualIgnoringMinutes(java.time.OffsetTime actual,
java.time.OffsetTime other)
public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(java.lang.Object actual, java.lang.Object other)
ShouldBeEqualIgnoringMinutes.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(java.time.LocalTime actual, java.time.LocalTime other)
ShouldBeEqualIgnoringSeconds.actual - the actual LocalTime in the failed assertion.other - the LocalTime used in the failed assertion to compare the actual LocalTime to.ErrorMessageFactory.public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(java.time.OffsetTime actual, java.time.OffsetTime other)
ShouldBeEqualIgnoringSeconds.actual - the actual OffsetTime in the failed assertion.other - the OffsetTime used in the failed assertion to compare the actual OffsetTime to.ErrorMessageFactory.