Interface ITimeZoneFactory2

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

Provides access to members that control the Time Zone Factory.

[Guid("4CAA06BE-7199-40B3-ADB6-78BAE35D5227")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITimeZoneFactory2 : ITimeZoneFactory

Properties

FirstLocaleID

int FirstLocaleID { get; }

Property Value

int

FirstTimeZoneWindowsID

string FirstTimeZoneWindowsID { get; }

Property Value

string

NextLocaleID[int]

int NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Property Value

int

NextTimeZoneWindowsID[string]

string NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Property Value

string

Methods

CreateLocaleInfoFromLocaleID(int)

ILocaleInfo CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

CreateTimeReferenceFromWindowsID(string)

ITimeReference CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

CreateTimeZoneInfoFromWindowsID(string)

ITimeZoneInfo CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

IsValidLocaleID(int)

bool IsValidLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

bool

IsValidTimeZoneWindowsID(string)

bool IsValidTimeZoneWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

bool

QueryLocalTimeReference(bool)

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

ITimeReference QueryLocalTimeReference(bool exactMatch)

Parameters

exactMatch bool

Returns

ITimeReference

QueryLocalTimeZoneWindowsID()

string QueryLocalTimeZoneWindowsID()

Returns

string

QueryTimeZoneOlsonIDsFromWindowsID(string)

string[] QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

string[]

QueryTimeZoneWindowsIDFromOlsonID(string)

string QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string

ReloadTimeZones(string)

Reload time zones.

void ReloadTimeZones(string FileName)

Parameters

FileName string

SaveTimeZones(string)

Save time zones.

void SaveTimeZones(string FileName)

Parameters

FileName string