A spring can be used to determine the mass m of an object in two ways : (i) by measuring the extension in the spring due to the object; and (ii) by measuring the oscillation period for the given mass. Which of these methods can be used in a space-station orbiting Earth ?