TimeZone Methods |
The TimeZone type exposes the following members.
| Name | Description | |
|---|---|---|
| Clone |
Create and returns a copy of this object.
| |
| CompareTo |
Compares two TimeZone objects for ordering. TimeZones are ordered by ascending Bias.
| |
| Convert(TimeZone, DateTime) |
Converts the local time of the current timezone to the local time of the
destination timezone.
| |
| Convert(TimeZone, TimeZone, DateTime) |
Converts the local time of the source timezone to the local time of the
destination timezone.
| |
| CurrentOffset |
Get the timezone's current offset from UTC (in minutes) taking into account
the current state of DaylightTime.
| |
| Dump |
Dump out a text representation of the TimeZone for debugging purposes.
| |
| Equals |
Compares two TimeZone objects for equality.
(Overrides ObjectEquals(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 |
The daylight time changes for the current timezone
| |
| GetDaylightDateTime |
The date of the daylight time change.
| |
| GetDaylightRecurrencePattern |
Returns the Daylight time recurrence pattern.
| |
| GetHashCode |
Get the bias (offset from UTC, in minutes) for this TimeZone.
(Overrides ObjectGetHashCode.) | |
| GetStandardDateTime |
The date of the standard time change
| |
| GetStandardRecurrencePattern |
Returns the standard time recurrence pattern.
| |
| GetTimeZoneName |
The name of the current TimeZone structure (Daylight or Standard) based on the date/time.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetVTIMEZONE |
Returns the VTIMEZONE representing this TimeZone object.
| |
| 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.
| |
| LoadFromRegistry |
Load a TimeZone from the specified Windows registry key.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToLocalTime(DateTime) |
Converts the UtcTime to the local time of the current timezone.
| |
| ToLocalTime(TimeZone, DateTime) |
Converts the UtcTime to the local time of the destination timezone.
| |
| ToString |
Convert the TimeZone into a string.
(Overrides ObjectToString.) | |
| ToUniversalTime(DateTime) |
Converts a local time of the current timezone to a Utc time
| |
| ToUniversalTime(TimeZone, DateTime) |
Converts a local time of the source timezone to a Utc time
|
| Name | Description | |
|---|---|---|
| EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |