Reporting summer classes?

Should summer classes be considered for the grade from before or after that summer? If I took a summer class the summer after 9th grade, should I consider it to be a 9th or 10th grade class?

If this relates to self-reporting courses and grades in the application, then one of the choices is 'summer" and the summer after a school year would be the summer of that school year.