Kella O, Yor M. Unifying the Dynkin and Lebesgue-Stieltjes formulae. Journal of Applied Probability [Internet].  2017;54 (1) :252-266.