Kindly recount your days again, the day you left UK and the day you entered can be excluded as only whole days are regarded. 2012 is a leap year so Feb will have 29 days in that year.
Regarding the break spanning between two years, this is my view, others can correct me if i am wrong.