This document is archived and information here might be outdated.  Recommended version.


ITimeZoneFactory Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeZoneFactory Interface
ArcGIS Developer Help

ITimeZoneFactory Interface

Provides access to members that control the Time Zone Factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Members

Name Description
Method CreateLocaleInfoFromLocaleID Obtains the locale display name that corresponds to the given locale ID.
Method CreateTimeReferenceFromWindowsID Creates a time reference from a windows ID.
Method CreateTimeZoneInfoFromWindowsID 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 QueryLocalTimeZoneWindowsID 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.

Classes that implement ITimeZoneFactory

Classes Description
TimeZoneFactory An object that creates TimeZoneInfo instances.