TimeZoneInformation Class |
Namespace: WorkflowGen.My.Globalization
The TimeZoneInformation type exposes the following members.
Name | Description | |
---|---|---|
TimeZoneInformation(String) |
Initializes a new instance of the TimeZoneInformation class.
| |
TimeZoneInformation(XmlNode) |
Initializes a new instance of the TimeZoneInformation class.
|
Name | Description | |
---|---|---|
DisplayName |
Display displayName of the current timezone
| |
Identifier |
Timezone identifier
| |
NativeStructure |
Win32 native structure of the current timezone
| |
ObservesDaylightTime |
Determines whether or not daylight saving time is observed by the timezone
| |
Xml |
XML structure of the current timezone
|
Name | Description | |
---|---|---|
CompareTo |
Compares the current instance with another object of the same type.
| |
Convert(TimeZoneInformation, DateTime) |
Converts the local time of the current timezone to the local time of the destination timezone.
| |
Convert(TimeZoneInformation, TimeZoneInformation, DateTime) |
Converts the local time of the source timezone to the local time of the destination timezone.
| |
GetDaylightChanges |
Retrieves the daylight time changes for the current timezone
| |
GetDaylightDateTime |
Retrieves the date of the daylight time change.
| |
GetDefaultTimeZone |
Get the default timezone
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
GetStandardDateTime |
Retrieves the date of the standard time change
| |
GetTimeZone |
Retrieves a TimeZoneInformation structure
| |
GetTimeZoneName |
Retrieves the name of the current TimeZoneInfo structure (Daylight or Standard) based on the given DateTime.
| |
GetTimeZones |
Retrieves an array of TimeZoneInformation structures sorted by bias
| |
GetTimeZones(Boolean) |
Retrieves an array of TimeZoneInformation structures
| |
GetTimeZoneXml |
Retrieves a TimeZoneInformation XML structure
| |
IsDaylightSavingTime(DateTime) |
Determines whether or not the specified date and time is within the daylight saving time period.
| |
IsDaylightSavingTime(DateTime, DaylightTime) |
Determines whether or not the specified date and time is within the daylight saving time period.
| |
ToLocalTime(DateTime) |
Converts the UtcTime to the local time of the current timezone.
| |
ToLocalTime(TimeZoneInformation, DateTime) |
Converts the UtcTime to the local time of the destination timezone.
| |
ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) | |
ToUtcTime(DateTime) |
Converts a local time of the current timezone to a Utc time
| |
ToUtcTime(TimeZoneInformation, DateTime) |
Converts a local time of the source timezone to a Utc time
|