i would say it's a Metaphor.. They are comparing childhood to the sun.. A simile is when you are comparing something using the words like or as.. for example, "her cheeks are as red as apples." is a simile. If it were a metaphor, it would be: "her cheeks are red apples."