public interface DateSQLExpression extends SQLExpression<java.util.Date>
SQLExpression
where the underlying representation is really a numeric value.
This provides additional methods to access that numeric value. This should not be used for
expressions that are natively implemented as a Date.Modifier and Type | Method and Description |
---|---|
SQLExpression<? extends java.lang.Number> |
getMillis()
get an
SQLExpression for the millisecond value of the date |
SQLExpression<? extends java.lang.Number> |
getSeconds()
get an
SQLExpression for the second value of the date |
boolean |
preferSeconds()
Would this expression preferentially use seconds
|
equals, groupingIsomorphic, hashCode
addGroup, checkContentsCanGroup, getGroupParameters
add, getParameters, getRequiredFilter, makeObject
SQLExpression<? extends java.lang.Number> getMillis()
SQLExpression
for the millisecond value of the dateSQLExpression
giving milliseconds since epochSQLExpression<? extends java.lang.Number> getSeconds()
SQLExpression
for the second value of the dateSQLExpression
giving seconds since epochboolean preferSeconds()