public class ShouldNotBeBetween extends BasicErrorMessageFactory
Date
is not between start - end dates
(inclusive or not) failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd)
Creates a new
ShouldNotBeBetween . |
static ErrorMessageFactory |
shouldNotBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotBeBetween . |
create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotBeBetween(Date actual, Date start, 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(Date actual, Date start, 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
.Copyright © 2013-2014 AssertJ. All Rights Reserved.