Пример #1
0
        protected override long ParseToTicks(string s)
        {
            uint ticks = 0;

            if (!PlcOpenDTConverter.TryParseToTicks(s, out ticks))
            {
                throw new FormatException();
            }
            return((long)ticks);
        }
Пример #2
0
 public static bool TryParse(string s, out DT dt) =>
 PlcOpenDTConverter.TryParse(s, out dt);
Пример #3
0
 public override string ToString() =>
 PlcOpenDTConverter.TicksToString(base.internalDateValue);