Sojourns and extremes of stochastic processes. (2017)