remove unneeded parameters from convertoToDayOfYear