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