The DateTimeFormatter type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Clone |
Returns a writable copy of this formatter.
(Inherited from DataFormatterBase.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from DataFormatterBase.) |
![]() |
Format |
Override this method to convert an object to a string value.
(Inherited from DataFormatterBase.) |
![]() |
FormatInvalid |
Formats an invalid value. If error is not null,
the return value includes the "(error)" string, otherwise
EmptyString is returned.
(Inherited from DataFormatterBase.) |
![]() |
GetHashCode |
Gets a hash code for the current Object.
(Inherited from DataFormatterBase.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Parse |
Override this method to convert a string value to an object.
(Inherited from DataFormatterBase.) |
![]() |
TryParse |
Converts a string representation to an object. A return value indicates
whether the conversion succeeded or failed.
(Inherited from DataFormatterBase.) |
See Also