public static DateTime ParseDateTimeExact(String value, String format, IFormatProvider provider, DateTimeStyles styles, out TimeSpan offset) { return(DateTimeParse.ParseExact(value, format, (DateTimeFormatInfo)provider.GetFormat(typeof(DateTimeFormatInfo)), styles, out offset)); }
public static DateTime2 ParseExact(string s, string format, IFormatProvider provider) { return(DateTimeParse.ParseExact(s, format, DateTimeFormatInfo.GetInstance(provider), DateTimeStyles.None)); }
public static DateTime2 ParseExact(string s, string format, IFormatProvider provider, DateTimeStyles style) { DateTimeFormatInfo.ValidateStyles(style, "style"); return(DateTimeParse.ParseExact(s, format, DateTimeFormatInfo.GetInstance(provider), style)); }
public static DateTime ParseDateTimeExact(String value, String format, IFormatProvider provider, DateTimeStyles styles, out TimeSpan offset) { return(DateTimeParse.ParseExact(value, format, DateTimeFormatInfo.GetInstance(provider), styles, out offset)); }