What is a legal duration of pre-trial detention?

Boeroendi