DateUtils Class

Utility methods to parse and format rfc822 date strings.

Definition

Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static class DateUtils
Inheritance
Object    DateUtils

Remarks

Utility methods to parse and format rfc822 date strings.

Methods

FormatDate Format the DateTimeOffset as an rfc822 date string.
TryParse(Byte, DateTimeOffset) Try to parse the given input buffer into a new DateTimeOffset instance.
TryParse(String, DateTimeOffset) Try to parse the given input buffer into a new DateTimeOffset instance.
TryParse(Byte, Int32, DateTimeOffset) Try to parse the given input buffer into a new DateTimeOffset instance.
TryParse(Byte, Int32, Int32, DateTimeOffset) Try to parse the given input buffer into a new DateTimeOffset instance.

See Also