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
. |
static ErrorMessageFactory |
shouldNotBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic 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 - 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(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 - whether to include start date in period.inclusiveEnd - whether to include end date in period.ErrorMessageFactory.Copyright © 2014–2019 AssertJ. All rights reserved.