public class ShouldBeInSameSecond extends BasicErrorMessageFactory
Date is in same year, month, day of month,
hour, minute and second as another one failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeInSameSecond(Date actual,
Date other)
Creates a new
ShouldBeInSameSecond. |
create, equals, hashCode, toStringpublic static ErrorMessageFactory shouldBeInSameSecond(Date actual, Date other)
ShouldBeInSameSecond.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.Copyright © 2007–2014. All rights reserved.