Deleted
Created TimeIntervals class and moved createAreasForRestriction