public class ShouldBeEqualIgnoringTimezone extends BasicErrorMessageFactory
OffsetTime
have same
time fields except the timezone.arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldBeEqualIgnoringTimezone(java.lang.Object actual,
java.lang.Object other) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeEqualIgnoringTimezone(java.time.OffsetDateTime actual,
java.time.OffsetDateTime other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeEqualIgnoringTimezone(java.time.OffsetTime actual,
java.time.OffsetTime other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldBeEqualIgnoringTimezone(java.lang.Object actual, java.lang.Object other)
public static ErrorMessageFactory shouldBeEqualIgnoringTimezone(java.time.OffsetTime actual, java.time.OffsetTime other)
ShouldBeEqualIgnoringTimezone
.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 shouldBeEqualIgnoringTimezone(java.time.OffsetDateTime actual, java.time.OffsetDateTime other)
ShouldBeEqualIgnoringTimezone
.actual
- the actual value in the failed assertion.other
- the value used in the failed assertion to compare the actual value to.ErrorMessageFactory
.