public void testEndedBy() throws Exception {
Period period = period("2009-01-15 13:10:12", "2009-06-28 15:12:41");
FilterFactory ff = dataStore.getFilterFactory();
Ends before = ff.ends(ff.property(aname("dt")), ff.literal(period));
assertDatesMatch(before, "2009-06-28 15:12:41");
}
public void testDuring() throws Exception {
Period period = period("2009-01-01 00:00:00", "2009-07-28 15:12:41");