presto-mongodb/src/main/java/io/prestosql/plugin/mongodb/TypeUtils.java/TypeUtils/isDateType
class TypeUtils:    public static boolean isDateType(Type type)
    {
        return type.equals(DATE) ||
                type.equals(TIME) ||
                type.equals(TIMESTAMP) ||
                type.equals(TIMESTAMP_WITH_TIME_ZONE);
    }