Added an example for the interval method summary.