Click or drag to resize

TimeZoneInformation Class

Class which holds information about a TimeZone
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.GlobalizationTimeZoneInformation

Namespace:  WorkflowGen.My.Globalization
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax
public class TimeZoneInformation : IComparable

The TimeZoneInformation type exposes the following members.

Constructors
  NameDescription
Public methodTimeZoneInformation(String)
Initializes a new instance of the TimeZoneInformation class.
Public methodTimeZoneInformation(XmlNode)
Initializes a new instance of the TimeZoneInformation class.
Top
Properties
  NameDescription
Public propertyDisplayName
Display displayName of the current timezone
Public propertyIdentifier
Timezone identifier
Public propertyNativeStructure
Win32 native structure of the current timezone
Public propertyObservesDaylightTime
Determines whether or not daylight saving time is observed by the timezone
Public propertyXml
XML structure of the current timezone
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type.
Public methodConvert(TimeZoneInformation, DateTime)
Converts the local time of the current timezone to the local time of the destination timezone.
Public methodStatic memberConvert(TimeZoneInformation, TimeZoneInformation, DateTime)
Converts the local time of the source timezone to the local time of the destination timezone.
Public methodGetDaylightChanges
Retrieves the daylight time changes for the current timezone
Public methodGetDaylightDateTime
Retrieves the date of the daylight time change.
Public methodStatic memberGetDefaultTimeZone
Get the default timezone
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetStandardDateTime
Retrieves the date of the standard time change
Public methodStatic memberGetTimeZone
Retrieves a TimeZoneInformation structure
Public methodGetTimeZoneName
Retrieves the name of the current TimeZoneInfo structure (Daylight or Standard) based on the given DateTime.
Public methodStatic memberGetTimeZones
Retrieves an array of TimeZoneInformation structures sorted by bias
Public methodStatic memberGetTimeZones(Boolean)
Retrieves an array of TimeZoneInformation structures
Public methodStatic memberGetTimeZoneXml
Retrieves a TimeZoneInformation XML structure
Public methodIsDaylightSavingTime(DateTime)
Determines whether or not the specified date and time is within the daylight saving time period.
Public methodStatic memberIsDaylightSavingTime(DateTime, DaylightTime)
Determines whether or not the specified date and time is within the daylight saving time period.
Public methodToLocalTime(DateTime)
Converts the UtcTime to the local time of the current timezone.
Public methodStatic memberToLocalTime(TimeZoneInformation, DateTime)
Converts the UtcTime to the local time of the destination timezone.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToUtcTime(DateTime)
Converts a local time of the current timezone to a Utc time
Public methodStatic memberToUtcTime(TimeZoneInformation, DateTime)
Converts a local time of the source timezone to a Utc time
Top
See Also