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