Taanis2: 8
כָּל הַכָּתוּב בִּמְגִלַּת תַּעֲנִית ,,דְּלָא לְמִסְפַּד” — לְפָנָיו אָסוּר, לְאַחֲרָיו מֻתָּר;  רַבִּי יוֹסֵי אוֹמֵר: לְפָנָיו וּלְאַחֲרָיו אָסוּר.  ,,דְּלָא לְהִתְעַנָּאָה בְהוֹן” — לְפָנָיו וּלְאַחֲרָיו מֻתָּר;  רַבִּי יוֹסֵי אוֹמֵר: לְפָנָיו אָסוּר, לְאַחֲרָיו מֻתָּר.
Whenever it is written in the Scroll of Fasts, “Not to eulogize [on a particular day],” [on the day] before it [fasting] is forbidden; [on the day] after it [fasting] is permitted.  R' Yose says: [Both] before and after it [fasting] is forbidden.  [Concerning days about which it is written in the Scroll of Fasts,] “Not to fast on them,” [both] before and after them [fasting] is permitted.  R' Yose says: Before them [fasting] is forbidden; after them [fasting] is permitted.