public class ShouldBeInSameDay extends BasicErrorMessageFactory
Date is in same year, month and day of month
as another one failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeInSameDay(Date actual,
Date other)
Creates a new
ShouldBeInSameDay. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldBeInSameDay(Date actual, Date other)
ShouldBeInSameDay.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.Copyright © 2013-2015 AssertJ. All Rights Reserved.