public class ShouldBeEqualIgnoringTimezone extends BasicErrorMessageFactory
OffsetTime
have same
time fields except the timezone.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeEqualIgnoringTimezone(OffsetDateTime actual,
OffsetDateTime other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeEqualIgnoringTimezone(OffsetTime actual,
OffsetTime other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeEqualIgnoringTimezone(OffsetTime actual, 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(OffsetDateTime actual, 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
.Copyright © 2014–2018 AssertJ. All rights reserved.