Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TimeZone Methods

The methods of the TimeZone class are listed here. For a complete list of TimeZone class members, see the TimeZone Members topic.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetDaylightChanges

Supported by the .NET Compact Framework.

Returns the daylight saving time period for a particular year.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetUtcOffset

Supported by the .NET Compact Framework.

Returns the coordinated universal time (UTC) offset for the specified local time.
public methodIsDaylightSavingTime

Supported by the .NET Compact Framework.

Overloaded. Returns a value indicating whether a specified date and time is within a daylight saving time period.
public methodToLocalTime

Supported by the .NET Compact Framework.

Returns the local time that corresponds to a specified coordinated universal time (UTC).
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodToUniversalTime

Supported by the .NET Compact Framework.

Returns the coordinated universal time (UTC) that corresponds to a specified local time.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

TimeZone Class | System Namespace

Show:
© 2015 Microsoft