add code to handle year_startend and year_start-end formats