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

Class DateWriter

Writes dates in RFC 5322 §3.6.1 format (e.g. Fri, 18 Jul 2026 14:30:00 +0200).

Inheritance
object
DateWriter
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.Writing
Assembly: DRIT.Mail.dll
Syntax
public static class DateWriter

Methods

View Source

Write(StringBuilder, DateTimeOffset)

Writes an RFC 5322 date-time to the specified StringBuilder.

Declaration
public static void Write(StringBuilder sb, DateTimeOffset date)
Parameters
Type Name Description
StringBuilder sb

Specifies the sb value.

DateTimeOffset date

Specifies the date value.

  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX