|
||||||||||
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.ShouldBeBefore
public class ShouldBeBefore
Creates an error message indicating that an assertion that verifies that a Date
is before another one failed.
Method Summary | |
---|---|
static ErrorMessageFactory |
shouldBeBefore(Date actual,
Date other)
Creates a new ShouldBeBefore . |
static ErrorMessageFactory |
shouldBeBefore(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeBefore . |
static ErrorMessageFactory |
shouldBeBefore(Date actual,
int year)
Creates a new ShouldBeBefore . |
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 shouldBeBefore(Date actual, Date other, org.fest.util.ComparisonStrategy comparisonStrategy)
ShouldBeBefore
.
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 shouldBeBefore(Date actual, Date other)
ShouldBeBefore
.
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 shouldBeBefore(Date actual, int year)
ShouldBeBefore
.
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 |