Rfc2822Utils Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time.Rfc2822
Assembly Skybrud.Essentials.dll
Visibility Public
Keywords Static
Inheritance Object

Static class for working with date and time according to the RFC 2822 specification.

public static class Rfc2822Utils { }

Methods

Parse(string) (static)

Converts the specified rfc2822 formatted date to a corresponding instance of DateTimeOffset .

Converts the specified timestamp to a string representation as specified by the RFC 2822 format.

Converts the specified timestamp to a string representation as specified by the RFC 2822 format.

Converts the specified timestamp to a string representation as specified by the RFC 2822 format.

Converts the specified rfc2822 formatted date to its DateTime equivalent and returns a value that indicates whether the conversion succeeded.

Converts the specified rfc2822 formatted date to its DateTimeOffset equivalent and returns a value that indicates whether the conversion succeeded.