if (!$day || empty($day)) {
                throw new Exception("Cannot add a timing because no valid day of week has been set");
            }