/// <inheritdoc /> public bool TryParseExact(string s, string format, IFormatProvider provider, DateTimeStyles style, out IDateTime result) { DateTime dtResult; bool returnValue = DateTime.TryParseExact(s, format, provider, style, out dtResult); result = new DateTimeWrap(dtResult); return(returnValue); }
/// <inheritdoc /> public bool TryParse(string s, out IDateTime result) { DateTime dtResult; bool returnValue = DateTime.TryParse(s, out dtResult); result = new DateTimeWrap(dtResult); return(returnValue); }