public void testFilterByDateInterval() throws Exception {
SimpleDateFormat df = new SimpleDateFormat("MM/dd/yy HH:mm");
Date from = df.parse("01/01/11 00:00");
Date to = df.parse("12/31/11 23:59");
DefaultDataSetFilter filter = new DefaultDataSetFilter(dataSet);
filter.addProperty("date", from, true, to, true, null, DataFilter.ALLOW_ANY);
DataSet result = dataSet.filter(filter);
assertThat(result.getRowCount()).isEqualTo(11);
assertDataSetValue(result, 0, 0, "16");
}