Yosef Karo, Translation:Shulchan Aruch — Yoreh Deah 401
“ If a person [for whom you are suppose to mourn] died prior to Purim and then Purim occurred [during the mourning period] , this does not end the mourning period. But in any event, mourning is not practiced on that day, neither on the 14th nor 15th [of the month of Adar] , except for those things which are done in private are practiced, and [the mourner] is obligated to send shalah manot, and even though one should not mourn on these days [the 14th and 15th of Adar] , they count [towards the seven days of shiva] like Shabbat [counts towards shiva] . ”
