TimeSpan.getMills() refactoring