Added capability for date range in getActivity