//added to provide dynamic initialization for DateList in span rules. private void InitSpanDateList() { string[] parts = RecurrenceRule.Split(new char[] { RecurrenceSupport.RuleDelimiter }); if (parts.GetLength(0) == 3) { dateList = new RecurrenceList(); dateList.BaseDate = DateTime.Parse(parts[1], System.Globalization.CultureInfo.InstalledUICulture.DateTimeFormat); dateList.TerminalDate = DateTime.Parse(parts[2], System.Globalization.CultureInfo.InstalledUICulture.DateTimeFormat); } }