|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.ShouldBeAfter
public class ShouldBeAfter
Creates an error message indicating that an assertion that verifies that a Date
is after another one failed.
Method Summary | |
---|---|
static ErrorMessageFactory |
shouldBeAfter(Date actual,
Date other)
Creates a new ShouldBeAfter . |
static ErrorMessageFactory |
shouldBeAfter(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeAfter . |
static ErrorMessageFactory |
shouldBeAfter(Date actual,
int year)
Creates a new ShouldBeAfter . |
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory |
---|
create, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ErrorMessageFactory shouldBeAfter(Date actual, Date other, org.fest.util.ComparisonStrategy comparisonStrategy)
ShouldBeAfter
.
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 shouldBeAfter(Date actual, Date other)
ShouldBeAfter
.
actual
- the actual value in the failed assertion.other
- the value used in the failed assertion to compare the actual value to.
ErrorMessageFactory
.public static ErrorMessageFactory shouldBeAfter(Date actual, int year)
ShouldBeAfter
.
actual
- the actual value in the failed assertion.year
- the year to compare the actual date's year to.
ErrorMessageFactory
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |