Provides access to members that control the Time Zone Factory.
Members
Name | Description | |
---|---|---|
CreateLocaleInfoFromLocaleID | Obtains the locale display name that corresponds to the given locale ID. | |
CreateTimeReferenceFromWindowsID | (Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID. | |
CreateTimeZoneInfoFromWindowsID | (Deprecated, use ITimeZoneFactory3::CreateTimeReference) 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. | |
QueryLocalTimeReference | Obtains the machine's current local time reference. Set exactMatch to true to ensure exact retrieval of a customized machine's local time reference, or to false to obtain a pre-defined time reference, which is the closest match to the machine's current local t | |
QueryLocalTimeZoneWindowsID | (Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) 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. | |
ReloadTimeZones | Reload time zones. | |
SaveTimeZones | Save time zones. |
ITimeZoneFactory2.QueryLocalTimeReference Method
Obtains the machine's current local time reference. Set exactMatch to true to ensure exact retrieval of a customized machine's local time reference, or to false to obtain a pre-defined time reference, which is the closest match to the machine's current local t
Public Function QueryLocalTimeReference ( _
    ByVal exactMatch As Boolean _
) As ITimeReference
public ITimeReference QueryLocalTimeReference (
    bool exactMatch
);
ITimeZoneFactory2.ReloadTimeZones Method
Reload time zones.
Public Sub ReloadTimeZones ( _
    ByVal FileName As String _
)
public void ReloadTimeZones (
    string FileName
);
ITimeZoneFactory2.SaveTimeZones Method
Save time zones.
Public Sub SaveTimeZones ( _
    ByVal FileName As String _
)
public void SaveTimeZones (
    string FileName
);
Inherited Interfaces
Interfaces | Description |
---|---|
ITimeZoneFactory | Provides access to members that control the Time Zone Factory. |
Classes that implement ITimeZoneFactory2
Classes | Description |
---|---|
TimeZoneFactory | An object that creates TimeZoneInfo instances. |