Necessary and sufficient stability conditions for time-delay systems: a comparison