@Path("/{year:\\d{4}}/{month:\\d{1,2}}/{day:\\d{1,2}}")
public Response activitiesForYearMonthDay(@PathParam("year") int year, @PathParam("month") int month,
@PathParam("day") int day)
{
DateMidnight yearMonthDay = new DateMidnight(year, month, day, settings.get().getTimeZone());
Activities activities = activitiesConverter.toModel(yearMonthDay, DAY,
repository.findByYearMonthDay(yearMonthDay.year().get(), yearMonthDay.monthOfYear().get(), yearMonthDay
.dayOfMonth().get()));
return addLinksForYearMonthDay(activities, yearMonthDay);
}