Charging time scales and magnitudes of dust and spacecraft potentials in space plasma scenarios