Implement support for time periods.