With the notation of §28.4 for Fourier coefficients,
See §28.28. See also Prudnikov et al. (1990, pp. 359–368), Erdélyi et al. (1955, p. 115), and Gradshteyn and Ryzhik (2015, §§6.91–6.93). For relations with variable boundaries see Volkmer (1983).