public class ShouldBeEqualIgnoringSeconds extends BasicErrorMessageFactory
ZonedDateTime have same year,
month, day, hour and minute failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeEqualIgnoringSeconds(java.time.LocalTime actual,
java.time.LocalTime other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeEqualIgnoringSeconds(Object actual,
Object other)
Creates a new
. |
create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldBeEqualIgnoringSeconds(Object actual, Object other)
ShouldBeEqualIgnoringSeconds.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 shouldBeEqualIgnoringSeconds(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.Copyright © 2014-2015 AssertJ. All Rights Reserved.