DataPlace
TimeZoneInfo Class
CSCS.Core.TimeZoneTimeZoneInfo
Class which holds information about a TimeZone. Both a name and a TimeZoneStruct are included.
Declaration Syntax
C#
public class TimeZoneInfo : IComparable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TimeZoneInfo()()()
Initializes a new instance of the TimeZoneInfo class

CompareTo(Object)
Convert(TimeZoneInfo, TimeZoneInfo, DateTime)
Converts the local time of the source time-zone to the local time of the destination time-zone.

Convert(TimeZoneInfo, DateTime)
Converts the local time of the current time-zone to the local time of the destination time-zone.

CurrentTimeZone
Retrieves the TimeZoneInfo structure based on the current system TimeZone.

Equality(TimeZoneInfo, TimeZoneInfo)
Equals(Object) (Overrides Object.Equals(Object).)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDaylightChanges(Int32)
The daylight time changes for the current time-zone

GetDaylightDateTime(Int32)
The date of the daylight time change.

GetHashCode()()() (Overrides Object.GetHashCode()()().)
GetStandardDateTime(Int32)
The date of the standard time change

GetSystemTimeZone(String)

GetSystemTimeZoneNames()()()
GetSystemTimeZones()()()
Retrieves an array of TimeZoneInfo structures by pulling values from the Registry.

GetTimeZoneName(DateTime)
The name of the current TimeZoneInfo structure (Daylight or Standard) based on the date/time.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(TimeZoneInfo, TimeZoneInfo)
IsDaylightSavingTime(DateTime)
Returns a value indicating whether the specified date and time is within a daylight saving time period.

IsDaylightSavingTime(DateTime, DaylightTime)
Returns a value indicating whether the specified date and time is within a daylight saving time period.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
ObservesDaylightTime
Wether daylight saving time is observed in the time-zone

StandardName
TimeZoneStruct
ToLocalTime(TimeZoneInfo, DateTime)
Converts the UtcTime to the local time of the destination time-zone.

ToLocalTime(DateTime)
Converts the UtcTime to the local time of the current time-zone.

ToString()()() (Overrides Object.ToString()()().)
ToUniversalTime(TimeZoneInfo, DateTime)
Converts a local time of the source time-zone to a Utc time

ToUniversalTime(DateTime)
Converts a local time of the current time-zone to a Utc time

Inheritance Hierarchy
Object
TimeZoneInfo

Assembly: CS.Core.Standard (Module: CS.Core.Standard) Version: 1.0.3271.19813