Exemple #1
0
        public void TestHolidayCalendarSerialization()
        {
            HolidayCalendar holidayCalendar = new HolidayCalendar();

            holidayCalendar.AddExcludedDate(new DateTime(2010, 1, 20));
            HolidayCalendar clone = holidayCalendar.DeepClone();

            Assert.AreEqual(1, clone.ExcludedDates.Count);
        }