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

public Class ShouldBeEqualIgnoringSeconds

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, hour and minute 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.
shouldBeEqualIgnoringSeconds
(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 ShouldBeEqualIgnoringSeconds.

public static ErrorMessageFactory

Returns:

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

ShouldBeEqualIgnoringSecondsback to summary
private ShouldBeEqualIgnoringSeconds(Object actual, Object other)
ShouldBeEqualIgnoringSecondsback to summary
private ShouldBeEqualIgnoringSeconds(LocalTime actual, LocalTime other)
ShouldBeEqualIgnoringSecondsback to summary
private ShouldBeEqualIgnoringSeconds(OffsetTime actual, OffsetTime other)

Method Detail

shouldBeEqualIgnoringSecondsback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringSeconds(Object actual, Object other)

Creates a new ShouldBeEqualIgnoringSeconds.

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.

shouldBeEqualIgnoringSecondsback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringSeconds(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.

shouldBeEqualIgnoringSecondsback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringSeconds(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.