public static function ics_from_sscal($cal)
        {
            $events = $cal->Events();
            $eventsArr = $events->toNestedArray();

            //Debug::dump($eventsArr);
            //return false;
            $ics = new ICSExport($eventsArr);
            return $ics;
        }