public static <T extends Comparable<?>> DatePath<T> datePath(Class<? extends T> type, PathMetadata metadata) {
        return new DatePath<T>(type, metadata);
    }
Create a new Path expression

@param type type of expression
@param metadata path metadata
@param <T> type of expression
@return new path instance
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java