TimePeriod class is now fully functional.