Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

TimeZone Members

TimeZone overview

Public Properties

public propertystatic (Shared in Visual Basic)CurrentTimeZone

Supported by the .NET Compact Framework.

Gets the time zone of the current computer system.
public propertyDaylightName

Supported by the .NET Compact Framework.

Gets the daylight saving time zone name.
public propertyStandardName

Supported by the .NET Compact Framework.

Gets the standard time zone name.

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 Constructors

protected constructorTimeZone Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the TimeZone class.

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:
© 2014 Microsoft. All rights reserved.