public class ShouldNotBeBetween extends BasicErrorMessageFactory
Date is not between start - end dates
(inclusive or not) failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldNotBeBetween(java.util.Date actual,
java.util.Date start,
java.util.Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotBeBetween(java.util.Date actual,
java.util.Date start,
java.util.Date end,
boolean inclusiveStart,
boolean inclusiveEnd)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeBetween(java.util.Date actual,
java.util.Date start,
java.util.Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldNotBeBetween(java.util.Date actual,
java.util.Date start,
java.util.Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldNotBeBetween(java.util.Date actual, java.util.Date start, java.util.Date end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy)
ShouldNotBeBetween.actual - the actual value in the failed assertion.start - the lower boundary of date period.end - the lower boundary of date period.inclusiveStart - whether to include start date in period.inclusiveEnd - whether to include end date in period.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldNotBeBetween(java.util.Date actual, java.util.Date start, java.util.Date end, boolean inclusiveStart, boolean inclusiveEnd)
ShouldNotBeBetween.actual - the actual value in the failed assertion.start - the lower boundary of date period.end - the lower boundary of date period.inclusiveStart - whether to include start date in period.inclusiveEnd - whether to include end date in period.ErrorMessageFactory.