Change enum to class - TimePeriod