Self-encapsulate the type code (dateFilter) in acceptDate(Transaction t) in class FilteredLists.