Consider the following function defined on the interval $[0,\pi]$
$$f(t)=\left\{\begin{array}{ll}t^2,\quad&\mbox{for } -\pi\leq t<\pi, \\ f(t-2k\pi),\quad&\mbox{for } -\pi+2k\pi\leq t<\pi+2k\pi.\end{array}\right.$$
What is the period for this function? I'm trying to use the fourier series for this, but the formula requires knowing the period. My first guess is that the period is $2\pi$ because it's going from $-\pi$ to $\pi$, but the second part of the function throws me off. Please help?