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

public Class ShouldBeEqualIgnoringMinutes

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.time.LocalTime, .OffsetTime, .ZonedDateTime

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
private
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualIgnoringMinutes
(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 ShouldBeEqualIgnoringMinutes.

public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualIgnoringMinutes
(LocalTime
the actual LocalTime in the failed assertion.
actual
,
LocalTime
the LocalTime used in the failed assertion to compare the actual LocalTime to.
other
)

Creates a new ShouldBeEqualIgnoringSeconds.

public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualIgnoringMinutes
(OffsetTime
the actual OffsetTime in the failed assertion.
actual
,
OffsetTime
the OffsetTime used in the failed assertion to compare the actual OffsetTime to.
other
)

Creates a new ShouldBeEqualIgnoringSeconds.

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

Constructor Detail

ShouldBeEqualIgnoringMinutesback to summary
private ShouldBeEqualIgnoringMinutes(Object actual, Object other)
ShouldBeEqualIgnoringMinutesback to summary
private ShouldBeEqualIgnoringMinutes(LocalTime actual, LocalTime other)
ShouldBeEqualIgnoringMinutesback to summary
private ShouldBeEqualIgnoringMinutes(OffsetTime actual, OffsetTime other)

Method Detail

shouldBeEqualIgnoringMinutesback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(Object actual, Object other)

Creates a new ShouldBeEqualIgnoringMinutes.

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.

shouldBeEqualIgnoringMinutesback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(LocalTime actual, LocalTime other)

Creates a new ShouldBeEqualIgnoringSeconds.

Parameters
actual:LocalTime

the actual LocalTime in the failed assertion.

other:LocalTime

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

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldBeEqualIgnoringMinutesback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringMinutes(OffsetTime actual, OffsetTime other)

Creates a new ShouldBeEqualIgnoringSeconds.

Parameters
actual:OffsetTime

the actual OffsetTime in the failed assertion.

other:OffsetTime

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

Returns:ErrorMessageFactory

the created ErrorMessageFactory.