Interface DateTimeRangeTerm
- All Superinterfaces:
QueryTerm
A term for a DateTime range query.
-
Method Summary
Modifier and TypeMethodDescriptionGets the end of the date time range in the term.Gets thestart of the date time range in the term.Methods inherited from interface QueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Method Details
-
getDateTimeRangeStart
DateTime getDateTimeRangeStart()Gets thestart of the date time range in the term.- Returns:
- the date
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
getDateTimeRangeEnd
DateTime getDateTimeRangeEnd()Gets the end of the date time range in the term.- Returns:
- the date
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-