if (!$dateObject instanceof DateTime) {
            throw new Exception("Cannot find dates for this event - no DateTime object given");
        }