Leggett–Williams type theorems with applications to nonlinear differential and integral equations. (February 2015)