Beispiel #1
0
 public bool TryParseExact(string s, string format, IFormatProvider provider, DateTimeStyles style, out IDateTimeWrap result)
 {
     DateTime dtResult;
     bool returnValue = DateTime.TryParseExact(s, format, provider, style, out dtResult);
     result = new DateTimeWrap(dtResult);
     return returnValue;
 }
Beispiel #2
0
 public bool TryParse(string s, out IDateTimeWrap result)
 {
     DateTime dtResult;
     bool returnValue = DateTime.TryParse(s, out dtResult);
     result = new DateTimeWrap(dtResult);
     return returnValue;
 }