ManagementDateTimeConverter Members

Provides methods to convert DMTF datetime and time intervals to CLR-compliant DateTime and TimeSpan format and vice versa.

The following tables list the members exposed by the ManagementDateTimeConverter type.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static ToDateTime Converts a given DMTF datetime to DateTime. The returned DateTime will be in the current time zone of the system.
Public method Static ToDmtfDateTime Converts a given DateTime to DMTF datetime format.
Public method Static ToDmtfTimeInterval Converts a given TimeSpan to DMTF time interval.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static ToTimeSpan Converts a given DMTF time interval to a TimeSpan.

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions