/// <summary> /// Converts the specified string representation of a date and time to its <see cref="HdDateTime" /> equivalent. /// </summary> /// <param name="provider">An object that supplies culture-specific format information about <paramref name="source" />.</param> /// <param name="source">A string containing a date and time to convert.</param> /// <returns> /// An object that is equivalent to the date and time contained in <paramref name="source" />. /// </returns> public HdDateTime Parse(String source, IFormatProvider provider) { String ownSource = String.Copy(source); return(PreciseTimeParse.Parse(ownSource, provider)); }
/// <summary> /// Converts the specified string representation of a date and time to its <see cref="HdDateTime" /> equivalent. /// </summary> /// <param name="source">A string containing a date and time to convert.</param> /// <returns> /// An object that is equivalent to the date and time contained in <paramref name="source" />. /// </returns> public HdDateTime Parse(String source) { String ownSource = String.Copy(source); return(PreciseTimeParse.Parse(ownSource, null)); }