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