at the end of + n./ pron./ v-ing在…的结尾
e.g At the end of the party, he sang a song for all of us.
At the end of cleaning the classroom, he came.
by the end of + n./ pron. 截至到…之前
e.g By the end of this term, we’ll have learnt 10 units.
We had studied for 9 years by the end of last year.