单项选择题

They decided to have an outing, but it ______ a rainy day, they had to stay at home.

A.was
B.being
C.has been
D.having been