Add start & end parameters to getEvents

Add start & end parameters to getEvents to filter them for a specified period