public class ShouldBeAfterYear extends BasicErrorMessageFactory
Date is after given year failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldBeAfterYear(java.util.Date actual,
int year,
ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeAfterYear(java.util.Date actual,
int year)
Creates a new
. |
static ErrorMessageFactory |
shouldBeAfterYear(java.util.Date actual,
int year,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldBeAfterYear(java.util.Date actual,
int year,
ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldBeAfterYear(java.util.Date actual, int year, ComparisonStrategy comparisonStrategy)
ShouldBeAfterYear.actual - the actual value in the failed assertion.year - the year to compare the actual date's year to.comparisonStrategy - the ComparisonStrategy used.ErrorMessageFactory.public static ErrorMessageFactory shouldBeAfterYear(java.util.Date actual, int year)
ShouldBeAfterYear.actual - the actual value in the failed assertion.year - the year to compare the actual date's year to.ErrorMessageFactory.