public class ShouldBeInSameMillisecond extends BasicErrorMessageFactory
Date
is in same year, month, day
of month, hour, minute, second and millisecond as another one failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeInSameMillisecond(Date actual,
Date other)
Creates a new
ShouldBeInSameMillisecond . |
create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeInSameMillisecond(Date actual, Date other)
ShouldBeInSameMillisecond
.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 AssertJ. All Rights Reserved.