• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DateParser

Parses RFC 5322 §3.6.1 date-time values (e.g. Fri, 18 Jul 2026 14:30:00 +0200).

Inheritance
object
DateParser
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Rfc.Mime.Parsing
Assembly: DRIT.Mail.dll
Syntax
public static class DateParser

Methods

View Source

Parse(string)

Parses an RFC 5322 date-time string. Returns null if parsing fails.

Declaration
public static DateTimeOffset? Parse(string text)
Parameters
Type Name Description
string text

Specifies the text value.

Returns
Type Description
DateTimeOffset?
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX