Example #1
0
        private DateTime?TryToDateTime(string value)
        {
            String8 value8 = value.TestConvert();

            DateTime?result = null;
            DateTime parsed = DateTime.MinValue;

            if (value8.TryToDateTime(out parsed))
            {
                result = parsed;
            }

            return(result);
        }
Example #2
0
        private DateTime?TryToDateTime(string value)
        {
            String8 value8 = String8.Convert(value, new byte[String8.GetLength(value) + 1], 1);

            DateTime?result = null;
            DateTime parsed = DateTime.MinValue;

            if (value8.TryToDateTime(out parsed))
            {
                result = parsed;
            }

            return(result);
        }
Example #3
0
 public bool TryToDateTime(out DateTime result)
 {
     return(_value.TryToDateTime(out result));
 }