The MailDateTime type exposes the following members.
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.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Clone |
Creates a copy of the header.
|
![]() ![]() | Encode |
Writes an encoded header value into a TextWriter.
|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString |
Converts the value of this header to its String representation.
(Overrides Object..::..ToString()()()().) |
Operators
Name | Description | |
---|---|---|
![]() ![]() ![]() | ImplicitWideningImplicitImplicitImplicit(DateTime to MailDateTime) |
Converts a DateTime to a MailDateTime.
|
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.
|