week

They have been studying for all the week.
They have been studying all the week.
They have been studying all week.

Use all week without the or a preposition: ‘They have been studying all week.’

We can also say ‘all week long’ or ‘the whole week’.

See ALL (6)