AssertionError indicating that an assertion that verifies that two dates are equals
up to a given precision failed.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public static ErrorMessageFactory | Returns: the createdAssertionErrorFactory.the actual value in the failed assertion. actual, Date the expected value in the failed assertion. expected, TimeUnit the precision)TimeUnit used to compare actual with expected.Creates a new |
| ShouldBeEqualWithTimePrecision | back to summary |
|---|---|
| private ShouldBeEqualWithTimePrecision(Date actual, Date expected, TimeUnit precision) | |
| buildErrorMessageTemplate | back to summary |
|---|---|
| private static String buildErrorMessageTemplate(final TimeUnit precision) | |
| shouldBeEqual | back to summary |
|---|---|
| public static ErrorMessageFactory shouldBeEqual(Date actual, Date expected, TimeUnit precision) Creates a new
| |