implementing DateFilter