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

int

FirstTimeZoneWindowsID

The first time zone windows ID.

string FirstTimeZoneWindowsID { get; }

Property Value

string

NextLocaleID[int]

The locale ID that cyclicly proceeds the given locale ID.

int NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Property Value

int

NextTimeZoneWindowsID[string]

The time zone windows ID that cyclicly proceeds the given time zone windows ID.

string NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Property Value

string

Methods

CreateLocaleInfoFromLocaleID(int)

Obtains the locale display name that corresponds to the given locale ID.

ILocaleInfo CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

CreateTimeReferenceFromWindowsID(string)

(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID.

ITimeReference CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

CreateTimeZoneInfoFromWindowsID(string)

(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time zone info from a windows ID.

ITimeZoneInfo CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

IsValidLocaleID(int)

Returns whether a given locale ID is valid for creating a locale info.

bool IsValidLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

bool

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

WindowsID string

Returns

bool

QueryLocalTimeZoneWindowsID()

(Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID.

string QueryLocalTimeZoneWindowsID()

Returns

string

QueryTimeZoneOlsonIDsFromWindowsID(string)

Obtains all the olson time zone IDs that correspond to the given time zone windows ID.

string[] QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

string[]

QueryTimeZoneWindowsIDFromOlsonID(string)

Returns the time zone windows ID that corresponds to the given olson time zone ID.

string QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string