<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _getEventsOnDay(self, request, day):
 """Return all the events in this site for a given day."""

        home = request.site.root_page
        return getAllEventsByDay(request, day, day, home=home)[0]