public class ShouldHaveSameTime extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSameTime(Date actual,
Date expected)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSameTime(Date actual, Date expected)
ShouldHaveSameTime
.actual
- the actual value in the failed assertion.expected
- the expected timestamp.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.