refactors Year#convert_line_array_to_string