Do colleges look at course duration or just credits?

fluent french. I was just confused. if I had 5 credits for a foreign language. but only went through one actual school year. does it still count as technically 3 school years?