Add example timeperiods.

fixes #4839