for (Summary summary : getSummariesSortedByDate()) {
for (Summary summary : getAssociatedSummaries()) {
    public Summary getSummaryByDate(YearMonthDay date) {	for (Summary summary : getSummariesSortedByDate()) {	    if (summary.getSummaryDateYearMonthDay().isEqual(date)) {		return summary;	    }	}	return null;    }