In this paper we study the excursion time of a Brownian motion with drift
outside a corridor by using a four-state semi-Markov model. In mathematical
finance, these results have an important application in the valuation of
double-barrier Parisian options. We subsequently obtain an explicit expression
for the Laplace transform of its price.