Пример #1
0
 public void GetPattern_Weekly()
 {
     DailyRecurrency daily = new DailyRecurrency(new DateTime(2011, 5, 12), 10, DailyType.Weekdays);
     Assert.AreEqual("D201105120000000000100001W", daily.GetPattern());
 }
Пример #2
0
 public void GetPattern_X()
 {
     DailyRecurrency daily = new DailyRecurrency(new DateTime(2011, 5, 12), new DateTime(2011, 05, 22), DailyType.EveryXDays, 156);
     Assert.AreEqual("D201105122011052200000156X", daily.GetPattern());
 }