/// <summary> /// Convert the specified <strong>RFC 2822</strong> string to an instance of <see cref="EssentialsTime"/>. /// </summary> /// <param name="str">The <strong>RFC 2822</strong> string to be converted.</param> /// <returns>An instance of <see cref="EssentialsTime"/>.</returns> public static EssentialsTime FromRfc2822(string str) { return(new EssentialsTime(TimeUtils.Rfc822ToDateTimeOffset(str))); }