Skip to main content

UtcDateTimeConverter Members

Represents a converter which can be used to convert DateTime objects from the local time to the current coordinated universal time (UTC).

Constructors

Name Description
UtcDateTimeConverter() Initializes a new instance of the UtcDateTimeConverter class.

Properties

Name Description
StorageType Gets the type that the property’s value will be converted to when it’s saved in a data store.

Methods

Name Description
ConvertFromStorageType(Object) Converts the stored value from the current coordinated universal time (UTC) to local time.
ConvertToStorageType(Object) Converts the persistent property’s value from the current local time to coordinated universal time (UTC). The converted value is stored in the data store.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also