This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the Time Zone Factory.
The ITimeZoneFactory should be used whenever you need a reference to time zone. This is because the time zones are rules that are pre-defined, and using the pre-defined values saves memory, and prevents unnecessary errors. The time zone can be generated from well known ID (WKID) values, which can be queried from the time zone's Windows ID, or from the time zone's Olson ID.
Name | Description | |
---|---|---|
CreateLocaleInfoFromLocaleID | Obtains the locale display name that corresponds to the given locale ID. | |
CreateTimeReferenceFromWindowsID | Creates a time reference from a windows ID. | |
CreateTimeZoneInfoFromWindowsID | Creates a time zone info from a windows ID. | |
FirstLocaleID | The first locale ID. | |
FirstTimeZoneWindowsID | The first time zone windows ID. | |
IsValidLocaleID | Returns whether a given locale ID is valid for creating a locale info. | |
IsValidTimeZoneWindowsID | Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference. | |
NextLocaleID | The locale ID that cyclicly proceeds the given locale ID. | |
NextTimeZoneWindowsID | The time zone windows ID that cyclicly proceeds the given time zone windows ID. | |
QueryLocalTimeZoneWindowsID | Obtains the machine's current local time zone Windows ID. | |
QueryTimeZoneOlsonIDsFromWindowsID | Obtains all the olson time zone IDs that correspond to the given time zone windows ID. | |
QueryTimeZoneWindowsIDFromOlsonID | Returns the time zone windows ID that corresponds to the given olson time zone ID. |
Classes | Description |
---|---|
TimeZoneFactory | An object that creates TimeZoneInfo instances. |