public class ShouldBeAfterOrEqualsTo extends BasicErrorMessageFactory
Date
is after or equals to another one
failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeAfterOrEqualsTo(Date actual,
Date other)
Creates a new
ShouldBeAfterOrEqualsTo . |
static ErrorMessageFactory |
shouldBeAfterOrEqualsTo(Date actual,
Date other,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldBeAfterOrEqualsTo . |
create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeAfterOrEqualsTo(Date actual, Date other, ComparisonStrategy comparisonStrategy)
ShouldBeAfterOrEqualsTo
.actual
- the actual value in the failed assertion.other
- the value used in the failed assertion to compare the actual value to.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeAfterOrEqualsTo(Date actual, Date other)
ShouldBeAfterOrEqualsTo
.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–2014 AssertJ. All rights reserved.