Beispiel #1
0
        public void DTM_NullComponent()
        {
            var cps = new DTM()
                      .WithDateformat("yyyyMMdd")
                      .AddComposite(361, DataNull.Value, 102);

            Assert.AreEqual("DTM+361::102'", cps.ToString());
        }
Beispiel #2
0
        public void DTM_361()
        {
            var cps = new DTM()
                      .WithDateformat("yyyyMMdd")
                      .AddComposite(361, new DateTime(2020, 12, 24), 102);

            Assert.AreEqual("DTM+361:20201224:102'", cps.ToString());
        }