ITimeZoneFactory2 Interface

Provides access to members that control the Time Zone Factory.

Members

Name Description
Method CreateLocaleInfoFromLocaleID Obtains the locale display name that corresponds to the given locale ID.
Method CreateTimeReferenceFromWindowsID (Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID.
Method CreateTimeZoneInfoFromWindowsID (Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time zone info from a windows ID.
Read-only property FirstLocaleID The first locale ID.
Read-only property FirstTimeZoneWindowsID The first time zone windows ID.
Method IsValidLocaleID Returns whether a given locale ID is valid for creating a locale info.
Method IsValidTimeZoneWindowsID Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference.
Read-only property NextLocaleID The locale ID that cyclicly proceeds the given locale ID.
Read-only property NextTimeZoneWindowsID The time zone windows ID that cyclicly proceeds the given time zone windows ID.
Method 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
Method QueryLocalTimeZoneWindowsID (Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID.
Method QueryTimeZoneOlsonIDsFromWindowsID Obtains all the olson time zone IDs that correspond to the given time zone windows ID.
Method QueryTimeZoneWindowsIDFromOlsonID Returns the time zone windows ID that corresponds to the given olson time zone ID.
Method ReloadTimeZones Reload time zones.
Method 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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close