public static <T extends Comparable<?>> DateExpression<T> asDate(T value) {
        return asDate(constant(value));
    }
Create a new DateExpression

@param value the date
@return new DateExpression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java