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

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