During what years does the main setting of the sound of music take place?

The story takes place in 1938, the year of the Anschluss when Austria became part of Nazi Germany