Is one year it takes a planet to orbit the sun?

A year (or orbital period) is defined as the period it takes a planet to orbit the Sun.