Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MailDateTime Class

Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9147)

Represents the date/time and the time zone.

Syntax
public class MailDateTime : IHeader
Inheritance
Object
MailDateTime
Implements
IHeader
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Remarks

Represents the date-time structured header defined by RFC 2822.

Constructors

Name Description
MailDateTime(DateTime)

Initializes a new instance of MailDateTime header value with the specified local DateTime.

MailDateTime(DateTime, TimeSpan)

Initializes a new instance of MailDateTime header value with the specified universal DateTime and a TimeZone.

Properties

Name Description
LocalTime

Gets the local date/time.

OriginalTime

Gets the original date/time (local to TimeZone).

TimeZone

Gets the time zone.

UniversalTime

Gets the universal date/time.

Methods

Name Description
Clone()

Creates a copy of the header.

Encode(TextWriter)

Writes an encoded header value into a TextWriter.

ToString()

Converts the value of this header to its String representation.

Operators

Name Description
Implicit(DateTime to MailDateTime)

Converts a DateTime to a MailDateTime.

In This Article
  • Remarks
  • Constructors
  • Properties
  • Methods
  • Operators
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies