The oscillation looks like this:
- the mass start moving outwards at time zero
- they reach maximum extension at time T/4 and they start moving inwards again
- they get back to the centre at 2T/4, now they are moving inwards
- they reach maximum compression at 3T/4, then they start moving outwards again
- they get back to the centre again at 4T/4