17 and 22 is legal in all 50 states, Japan and probably all of Europe...and Asia
It's also extremely common, probably like 20-30% of the people dating when I was in high school were dating people 3-6 years older than them. (Freshmen and seniors, seniors and college students etc)