Infinite-Horizon Problems Under Periodicity Constraint