Added two methods for searching for date