ManagementDateTimeConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class ManagementDateTimeConverter sealed
public sealed class ManagementDateTimeConverter
type ManagementDateTimeConverter = class
Public NotInheritable Class ManagementDateTimeConverter
- Inheritance
-
ManagementDateTimeConverter
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (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) |
ToDateTime(String) |
Converts a given DMTF datetime to DateTime. The returned DateTime will be in the current time zone of the system. |
ToDmtfDateTime(DateTime) |
Converts a given DateTime to DMTF datetime format. |
ToDmtfTimeInterval(TimeSpan) |
Converts a given TimeSpan to DMTF time interval. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
ToTimeSpan(String) |
Converts a given DMTF time interval to a TimeSpan. |