} else if (t == Filter.NOT_EQUAL) {
predicates.add(builder.notEqual(datePath, dateVal));
} else if (t == Filter.LESS_THAN) {
predicates.add(builder.lessThan(datePath, dateVal));
} else if (t == Filter.LESS_THAN_EQUAL) {
predicates.add(builder.lessThanOrEqualTo(datePath, dateVal));
} else if (t == Filter.GREATER_THAN) {
predicates.add(builder.greaterThan(datePath, dateVal));
} else if (t == Filter.GREATER_THAN_EQUAL) {
predicates.add(builder.greaterThanOrEqualTo(datePath, dateVal));
}