/// <summary> /// 解析 /// </summary> /// <param name="content"></param> /// <returns></returns> public static SuccessiveTimePeriod Parse(string content) { SuccessiveTimePeriod periods = new SuccessiveTimePeriod(); var segments = content.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries); foreach (var item in segments) { var tp = TimePeriod.Parse(item); periods.Add(tp); } return(periods); }