whole period custody