Completed contents of getDistanceTo in Time