public void testBegunBy() throws Exception {
Period period = period("2009-01-15 13:10:12", "2009-06-28 15:12:41");
FilterFactory ff = dataStore.getFilterFactory();
BegunBy before = ff.begunBy(ff.literal(period), ff.property(aname("dt")));
assertDatesMatch(before, "2009-01-15 13:10:12");
}
public void testEnds() throws Exception {
Period period = period("2009-01-15 13:10:12", "2009-06-28 15:12:41");