public class ShouldBeAfterYear extends BasicErrorMessageFactory
Date is after given year failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeAfterYear(Date actual,
int year)
Creates a new
ShouldBeAfterYear. |
static ErrorMessageFactory |
shouldBeAfterYear(Date actual,
int year,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldBeAfterYear. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldBeAfterYear(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.ErrorMessageFactory.public static ErrorMessageFactory shouldBeAfterYear(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.Copyright © 2014–2016 AssertJ. All rights reserved.