Under section 10 of the act of 1974, the maximum period of detention is:-
One year, to which provisions of section 9 of the Act do not apply
Two years, to which provisions of section 9 of the act applies