Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeEqualIgnoringHours

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.time.ZonedDateTime

Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, and day fields failed.
Author
Joel Costigliola

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualIgnoringHours
(Object
the actual value in the failed assertion.
actual
,
Object
the value used in the failed assertion to compare the actual value to.
other
)

Creates a new ShouldBeEqualIgnoringHours.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeEqualIgnoringHoursback to summary
private ShouldBeEqualIgnoringHours(Object actual, Object other)

Method Detail

shouldBeEqualIgnoringHoursback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringHours(Object actual, Object other)

Creates a new ShouldBeEqualIgnoringHours.

Parameters
actual:Object

the actual value in the failed assertion.

other:Object

the value used in the failed assertion to compare the actual value to.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.