Share via


CustomTimeZone Class

Represents TimeZone object for a given TimeZoneInfo

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class CustomTimeZone _
    Inherits TimeZone
public class CustomTimeZone : TimeZone
public ref class CustomTimeZone : public TimeZone
type CustomTimeZone =  
    class 
        inherit TimeZone 
    end
public class CustomTimeZone extends TimeZone

The CustomTimeZone type exposes the following members.

Constructors

  Name Description
Public method CustomTimeZone Constructs CustomTimeZone object.

Top

Properties

  Name Description
Public property DaylightName Gets the Daylight saving name for the current time zone (Overrides TimeZone.DaylightName.)
Public property Info
Public property StandardName Gets the Standard name of the current time zone. (Overrides TimeZone.StandardName.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDaylightChanges This method is not implemented. (Overrides TimeZone.GetDaylightChanges(Int32).)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUtcOffset Returns the Coordinated Universal Time (UTC) offset for the specified local time. (Overrides TimeZone.GetUtcOffset(DateTime).)
Public method IsDaylightSavingTime Indicates 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 method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToLocalTime Returns the local time that corresponds to a specified date and time value. (Overrides TimeZone.ToLocalTime(DateTime).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ToUniversalTime Returns the Coordinated Universal Time (UTC) that corresponds to a specified time. (Overrides TimeZone.ToUniversalTime(DateTime).)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Common Namespace