Unless you got absolutely fucked in the process, then you didn’t get years of experience in a few months.
In my personal experience, I did a "traineeship" the one time and within a few months went from Java / web (jquery) to learning iOS native development / obj-c, scrum, working in a team, single page applications, NodeJS, etc etc etc. It was super valuable, but, granted, difficult to keep up for a long time because at one point the new experiences will dry up, unless you go job hopping.