Implemented getDurationBetweenEvents() of the querier.