Example #1
0
        public void ParseFromStringBytes( )
        {
            var       now          = DateTime.Now;
            TimeStamp expTimeStamp = now;

            var actTimeStamp = TimeStamp.FromBytes(BitConverter.GetBytes(now.Ticks));

            Assert.AreEqual(expTimeStamp, actTimeStamp);
        }