CustomTimeZone Class

Represents TimeZone object for a given TimeZoneInfo

System.Object
  System.TimeZone
    Microsoft.TeamFoundation.Common.CustomTimeZone

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

public class CustomTimeZone : TimeZone

The CustomTimeZone type exposes the following members.

  NameDescription
Public methodCustomTimeZoneConstructs CustomTimeZone object.
Top

  NameDescription
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.)
Top

  NameDescription
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).)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft