public class TimestampValueImpl<T> extends BasicValueImpl<T,Instant> implements TimestampValue<T>
| Constructor and Description | 
|---|
TimestampValueImpl(String name,
                  ValueConverter<T,Instant> valueConverter,
                  TimestampOperand<T> timestampOperand,
                  boolean supportsOrderBy)  | 
| Modifier and Type | Method and Description | 
|---|---|
Predicate | 
after(T referenceDate)
Builds a predicate for a  
queryParameter > referenceValue comparison. | 
Predicate | 
afterOrEq(T referenceDate)
Builds a predicate for a  
queryParameter >= referenceValue comparison. | 
Predicate | 
before(T referenceDate)
Builds a predicate for a  
queryParameter < referenceValue comparison. | 
Predicate | 
beforeOrEq(T referenceDate)
Builds a predicate for a  
queryParameter <= referenceValue comparison. | 
Predicate | 
between(T startDate,
       T endDate)
Builds a predicate for a  
queryParameter >= startDate AND queryParameter <= endDate comparison. | 
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDescgetName, getValueConverterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValueConverterpublic TimestampValueImpl(String name, ValueConverter<T,Instant> valueConverter, TimestampOperand<T> timestampOperand, boolean supportsOrderBy)
public Predicate before(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter < referenceValue comparison.
before in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate beforeOrEq(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter <= referenceValue comparison.
beforeOrEq in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate after(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter > referenceValue comparison.
after in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate afterOrEq(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter >= referenceValue comparison.
afterOrEq in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate between(T startDate, T endDate)
TimestampOperandBuilds a predicate for a queryParameter >= startDate AND queryParameter <= endDate comparison.
between in interface TimestampOperand<T>startDate - the inclusive lower bound of the date rangeendDate - the inclusive upper bound of the date rangeCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.