Solution:
It is called the period. In your question The period T = 2 s is the time it takes to complete one cycle or one oscillation. the swing can be considered a pendulum with period T = 2π √ (L/g) where L is the length in feet of the pendulum from its fixed point to the bottom of the string or in your case the swing, and g is the gravitational acceleration in m/s2