Package org.assertj.core.error
Class ShouldBeEqualIgnoringTimezone
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeEqualIgnoringTimezone
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeEqualIgnoringTimezone extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that twoOffsetTimehave same time fields except the timezone.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldBeEqualIgnoringTimezone(java.lang.Object actual, java.lang.Object other)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeEqualIgnoringTimezone(java.time.OffsetDateTime actual, java.time.OffsetDateTime other)Creates a new.ShouldBeEqualIgnoringTimezonestatic ErrorMessageFactoryshouldBeEqualIgnoringTimezone(java.time.OffsetTime actual, java.time.OffsetTime other)Creates a new.ShouldBeEqualIgnoringTimezone-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldBeEqualIgnoringTimezone
public static ErrorMessageFactory shouldBeEqualIgnoringTimezone(java.time.OffsetTime actual, java.time.OffsetTime other)
Creates a new.ShouldBeEqualIgnoringTimezone- Parameters:
actual- the actual value in the failed assertion.other- the value used in the failed assertion to compare the actual value to.- Returns:
- the created
ErrorMessageFactory.
-
shouldBeEqualIgnoringTimezone
public static ErrorMessageFactory shouldBeEqualIgnoringTimezone(java.time.OffsetDateTime actual, java.time.OffsetDateTime other)
Creates a new.ShouldBeEqualIgnoringTimezone- Parameters:
actual- the actual value in the failed assertion.other- the value used in the failed assertion to compare the actual value to.- Returns:
- the created
ErrorMessageFactory.
-
-