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
ShouldNotBeBetween . |
static ErrorMessageFactory |
shouldNotBeBetween(java.util.Date actual,
java.util.Date start,
java.util.Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotBeBetween . |
create, create, create, equals, hashCode, toString, unquotedString
private 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
- wether to include start date in period.inclusiveEnd
- wether 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
- wether to include start date in period.inclusiveEnd
- wether to include end date in period.ErrorMessageFactory
.