Do I have the right to be annoyed?

I haven't seen my boyfriend in 2 weeks, we've barely spoken in those 2 weeks coz of work & stuff which is fine I understand we have busy separate lives.

I asked him if he had plans today, and if I can treat him to dinner which he said yes to as he didn't have plans..

We got to the restaurant and had dinner, he picked up his phone in the middle of dinner and then he was like "oh straight after this I'm going to see my friends"

I'm not seeing him again for another 2 weeks and was kind of hoping to spend more then 2 hours together this weekend. He said he didn't have plans when I asked him but then during dinner he made them.

I haven't told him I'm annoyed because I don't know if im over reacting but I'm a little upset that that's all the time he made for me when he can see his friends at any point during the next 2 weeks.