Hi Bras,
Maybe you can explain a bit more, for instance:
Do you set a date anywhere, when you create availability? what does your domainmodel look like?
It probably has a startdate and end date? If you set those, when you create an event, also for an accomodation, then you can compare on those attributes.