public class ShouldBeEqualIgnoringTimezone extends BasicErrorMessageFactory
OffsetTime
have same
time fields except the timezone.arguments, format
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
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
.Copyright © 2014-2015 AssertJ. All Rights Reserved.