using cake pattern with Dao, finding events by time ranges