Пример #1
0
        public void QSSToSXPRTest01()
        {
            // A QSS of times that shift by month each year
            QSS <TS> times = QSS <TS> .CreateQSS
                             (
                new TS(new DateTime(2008, 01, 01), DatePrecision.Month),
                new TS(new DateTime(2009, 02, 01), DatePrecision.Month),
                new TS(new DateTime(2010, 03, 01), DatePrecision.Month)
                             );

            var times2 = times.TranslateToSXPR();

            times2.NullFlavor = null;
            Console.WriteLine(times.ToString());
            Assert.IsTrue(times2.Validate());
        }