EssentialsTime.TryParseRfc822 method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

TryParseRfc822(string, out EssentialsTime)

Static

Converts the specified rfc822 formatted date and time to its EssentialsTime equivalent and returns a value that indicates whether the conversion succeeded.

public static bool TryParseRfc822(string rfc822, EssentialsTime result)

Parameters

rfc822 String

The string with the RFC 822 formatted date.

When this method returns, contains the EssentialsTime value equivalent to the date and time contained in rfc822, if the conversion succeeded, or null if the conversion failed.

Returns

true if the rfc822 parameter was converted successfully; otherwise, false.