Almost periodic upper and lower solutions