$m$ is Lebesgue measure and $E$ is any Lebesgue measurable set. It is shown here that $f(x)=m(E\cap(E+x))$ is continuous at $0$ (even if $m(E)=\infty$, $\lim_{x\to 0} f(x)=f(0)$).
This is Exercise 3.4.16(ii) in Srivastava's "A Course on Borel Sets." The hint given is to use the monotone class theorem.
If $E=\bigcup_0^{\infty}[2n,2n+1]$ or $E=[0,2]\cup\bigcup_1^{\infty}[2n+1,2n+2]$, then the range of $f$ is $\{0,\infty\}$, $\{1,\infty\}$, respectively.
Assuming additionally that $m(E)<\infty$, how does one prove, using the monotone class theorem, that $f$ is continuous?