Interface ITimeZoneFactory
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to members that control the Time Zone Factory.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1B4768DD-508E-4946-AB04-E042DFCEB29F")]
public interface ITimeZoneFactory
Properties
FirstLocaleID
The first locale ID.
int FirstLocaleID { get; }
Property Value
FirstTimeZoneWindowsID
The first time zone windows ID.
string FirstTimeZoneWindowsID { get; }
Property Value
NextLocaleID[int]
The locale ID that cyclicly proceeds the given locale ID.
int NextLocaleID[int currenteLocaleID] { get; }
Parameters
currenteLocaleIDint
Property Value
NextTimeZoneWindowsID[string]
The time zone windows ID that cyclicly proceeds the given time zone windows ID.
string NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }
Parameters
currentTimeZoneWindowsIDstring
Property Value
Methods
CreateLocaleInfoFromLocaleID(int)
Obtains the locale display name that corresponds to the given locale ID.
ILocaleInfo CreateLocaleInfoFromLocaleID(int LocaleID)
Parameters
LocaleIDint
Returns
CreateTimeReferenceFromWindowsID(string)
(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID.
ITimeReference CreateTimeReferenceFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
CreateTimeZoneInfoFromWindowsID(string)
(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time zone info from a windows ID.
ITimeZoneInfo CreateTimeZoneInfoFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
IsValidLocaleID(int)
Returns whether a given locale ID is valid for creating a locale info.
bool IsValidLocaleID(int LocaleID)
Parameters
LocaleIDint
Returns
IsValidTimeZoneWindowsID(string)
Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference.
bool IsValidTimeZoneWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
QueryLocalTimeZoneWindowsID()
(Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID.
string QueryLocalTimeZoneWindowsID()
Returns
QueryTimeZoneOlsonIDsFromWindowsID(string)
Obtains all the olson time zone IDs that correspond to the given time zone windows ID.
string[] QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
- string[]
QueryTimeZoneWindowsIDFromOlsonID(string)
Returns the time zone windows ID that corresponds to the given olson time zone ID.
string QueryTimeZoneWindowsIDFromOlsonID(string olsonID)
Parameters
olsonIDstring