This documentation is archived and is not being maintained.

CustomTimeZone Class

Represents TimeZone object for a given TimeZoneInfo


Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public class CustomTimeZone : TimeZone

The CustomTimeZone type exposes the following members.

Public methodCustomTimeZoneConstructs CustomTimeZone object.

Public propertyDaylightNameGets the Daylight saving name for the current time zone (Overrides TimeZone.DaylightName.)
Public propertyInfo
Public propertyStandardNameGets the Standard name of the current time zone. (Overrides TimeZone.StandardName.)

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetDaylightChangesThis method is not implemented. (Overrides TimeZone.GetDaylightChanges(Int32).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetUtcOffsetReturns the Coordinated Universal Time (UTC) offset for the specified local time. (Overrides TimeZone.GetUtcOffset(DateTime).)
Public methodIsDaylightSavingTimeIndicates whether a specified date and time falls in the range of daylight saving time for the time zone of the current TimeZone object. (Overrides TimeZone.IsDaylightSavingTime(DateTime).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToLocalTimeReturns the local time that corresponds to a specified date and time value. (Overrides TimeZone.ToLocalTime(DateTime).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodToUniversalTimeReturns the Coordinated Universal Time (UTC) that corresponds to a specified time. (Overrides TimeZone.ToUniversalTime(DateTime).)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.