public static bool TryParse(string s, IFormatProvider provider, DateTimeStyles styles, out DateInfo result)
 {
     return(DateInfoParse.TryParse(s, DateTimeFormatInfo.GetInstance(provider), styles, out result));
 }
 public static bool TryParse(string s, out DateInfo result)
 {
     return(DateInfoParse.TryParse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None, out result));
 }