Length of the year in pre-epicyclic planetary theory