Class TimeZoneFactoryClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("C559680F-9FAE-4967-938A-33548BC5EBA0")]
public class TimeZoneFactoryClass : TimeZoneFactory, ITimeZoneFactory4, ITimeZoneFactory3, ITimeZoneFactory2, ITimeZoneFactory
Inheritance
TimeZoneFactoryClass
Implements
Inherited Members

Constructors

TimeZoneFactoryClass()

public TimeZoneFactoryClass()

Explicit Interface Implementations

CreateLocaleInfoFromLocaleID(int)

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

virtual ILocaleInfo CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

CreateTimeReference(string)

Creates a time reference from a time zone ID.

virtual ITimeReference CreateTimeReference(string ID)

Parameters

ID string

Returns

ITimeReference

CreateTimeReferenceFromWindowsID(string)

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

virtual ITimeReference CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

CreateTimeZoneInfoFromWindowsID(string)

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

virtual ITimeZoneInfo CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

FirstLocaleID

The first locale ID.

virtual int FirstLocaleID { get; }

Returns

int

FirstTimeZoneID(out string)

The first time zone olson ID.

virtual void FirstTimeZoneID(out string firstTimeZoneOlsonID)

Parameters

firstTimeZoneOlsonID string

FirstTimeZoneWindowsID

The first time zone windows ID.

virtual string FirstTimeZoneWindowsID { get; }

Returns

string

ITimeZoneFactory2_CreateLocaleInfoFromLocaleID(int)

virtual ILocaleInfo ITimeZoneFactory2_CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

ITimeZoneFactory2_CreateTimeReferenceFromWindowsID(string)

virtual ITimeReference ITimeZoneFactory2_CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

ITimeZoneFactory2_CreateTimeZoneInfoFromWindowsID(string)

virtual ITimeZoneInfo ITimeZoneFactory2_CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

ITimeZoneFactory2_FirstLocaleID

virtual int ITimeZoneFactory2_FirstLocaleID { get; }

Returns

int

ITimeZoneFactory2_FirstTimeZoneWindowsID

virtual string ITimeZoneFactory2_FirstTimeZoneWindowsID { get; }

Returns

string

ITimeZoneFactory2_IsValidLocaleID(int)

virtual bool ITimeZoneFactory2_IsValidLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

bool

ITimeZoneFactory2_IsValidTimeZoneWindowsID(string)

virtual bool ITimeZoneFactory2_IsValidTimeZoneWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

bool

ITimeZoneFactory2_NextLocaleID[int]

virtual int ITimeZoneFactory2_NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Returns

int

ITimeZoneFactory2_NextTimeZoneWindowsID[string]

virtual string ITimeZoneFactory2_NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Returns

string

ITimeZoneFactory2_QueryLocalTimeZoneWindowsID()

virtual string ITimeZoneFactory2_QueryLocalTimeZoneWindowsID()

Returns

string

ITimeZoneFactory2_QueryTimeZoneOlsonIDsFromWindowsID(string)

virtual string[] ITimeZoneFactory2_QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

string[]

ITimeZoneFactory2_QueryTimeZoneWindowsIDFromOlsonID(string)

virtual string ITimeZoneFactory2_QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string

ITimeZoneFactory3_CreateLocaleInfoFromLocaleID(int)

virtual ILocaleInfo ITimeZoneFactory3_CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

ITimeZoneFactory3_CreateTimeReferenceFromWindowsID(string)

virtual ITimeReference ITimeZoneFactory3_CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

ITimeZoneFactory3_CreateTimeZoneInfoFromWindowsID(string)

virtual ITimeZoneInfo ITimeZoneFactory3_CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

ITimeZoneFactory3_FirstLocaleID

virtual int ITimeZoneFactory3_FirstLocaleID { get; }

Returns

int

ITimeZoneFactory3_FirstTimeZoneWindowsID

virtual string ITimeZoneFactory3_FirstTimeZoneWindowsID { get; }

Returns

string

ITimeZoneFactory3_IsValidLocaleID(int)

virtual bool ITimeZoneFactory3_IsValidLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

bool

ITimeZoneFactory3_IsValidTimeZoneWindowsID(string)

virtual bool ITimeZoneFactory3_IsValidTimeZoneWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

bool

ITimeZoneFactory3_NextLocaleID[int]

virtual int ITimeZoneFactory3_NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Returns

int

ITimeZoneFactory3_NextTimeZoneWindowsID[string]

virtual string ITimeZoneFactory3_NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Returns

string

ITimeZoneFactory3_QueryLocalTimeReference(bool)

virtual ITimeReference ITimeZoneFactory3_QueryLocalTimeReference(bool exactMatch)

Parameters

exactMatch bool

Returns

ITimeReference

ITimeZoneFactory3_QueryLocalTimeZoneWindowsID()

virtual string ITimeZoneFactory3_QueryLocalTimeZoneWindowsID()

Returns

string

ITimeZoneFactory3_QueryTimeZoneOlsonIDsFromWindowsID(string)

virtual string[] ITimeZoneFactory3_QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

string[]

ITimeZoneFactory3_QueryTimeZoneWindowsIDFromOlsonID(string)

virtual string ITimeZoneFactory3_QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string

ITimeZoneFactory3_ReloadTimeZones(string)

virtual void ITimeZoneFactory3_ReloadTimeZones(string FileName)

Parameters

FileName string

ITimeZoneFactory3_SaveTimeZones(string)

virtual void ITimeZoneFactory3_SaveTimeZones(string FileName)

Parameters

FileName string

ITimeZoneFactory4_CreateLocaleInfoFromLocaleID(int)

virtual ILocaleInfo ITimeZoneFactory4_CreateLocaleInfoFromLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

ILocaleInfo

ITimeZoneFactory4_CreateTimeReference(string)

virtual ITimeReference ITimeZoneFactory4_CreateTimeReference(string ID)

Parameters

ID string

Returns

ITimeReference

ITimeZoneFactory4_CreateTimeReferenceFromWindowsID(string)

virtual ITimeReference ITimeZoneFactory4_CreateTimeReferenceFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeReference

ITimeZoneFactory4_CreateTimeZoneInfoFromWindowsID(string)

virtual ITimeZoneInfo ITimeZoneFactory4_CreateTimeZoneInfoFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

ITimeZoneInfo

ITimeZoneFactory4_FirstLocaleID

virtual int ITimeZoneFactory4_FirstLocaleID { get; }

Returns

int

ITimeZoneFactory4_FirstTimeZoneID(out string)

virtual void ITimeZoneFactory4_FirstTimeZoneID(out string firstTimeZoneOlsonID)

Parameters

firstTimeZoneOlsonID string

ITimeZoneFactory4_FirstTimeZoneWindowsID

virtual string ITimeZoneFactory4_FirstTimeZoneWindowsID { get; }

Returns

string

ITimeZoneFactory4_IsValidLocaleID(int)

virtual bool ITimeZoneFactory4_IsValidLocaleID(int LocaleID)

Parameters

LocaleID int

Returns

bool

ITimeZoneFactory4_IsValidTimeZoneWindowsID(string)

virtual bool ITimeZoneFactory4_IsValidTimeZoneWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

bool

ITimeZoneFactory4_NextLocaleID[int]

virtual int ITimeZoneFactory4_NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Returns

int

ITimeZoneFactory4_NextTimeZoneID(string, out string)

virtual void ITimeZoneFactory4_NextTimeZoneID(string currentTimeZoneOlsonID, out string nextTimeZoneOlsonID)

Parameters

currentTimeZoneOlsonID string
nextTimeZoneOlsonID string

ITimeZoneFactory4_NextTimeZoneWindowsID[string]

virtual string ITimeZoneFactory4_NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Returns

string

ITimeZoneFactory4_QueryLocalTimeReference(bool)

virtual ITimeReference ITimeZoneFactory4_QueryLocalTimeReference(bool exactMatch)

Parameters

exactMatch bool

Returns

ITimeReference

ITimeZoneFactory4_QueryLocalTimeZoneID()

virtual string ITimeZoneFactory4_QueryLocalTimeZoneID()

Returns

string

ITimeZoneFactory4_QueryLocalTimeZoneWindowsID()

virtual string ITimeZoneFactory4_QueryLocalTimeZoneWindowsID()

Returns

string

ITimeZoneFactory4_QueryTimeZoneDefaultOffsets(string, out int, out int)

virtual void ITimeZoneFactory4_QueryTimeZoneDefaultOffsets(string ID, out int stdOffsetFromUTC, out int dstOffsetFromStd)

Parameters

ID string
stdOffsetFromUTC int
dstOffsetFromStd int

ITimeZoneFactory4_QueryTimeZoneDisplayName(string, out string, out string)

virtual void ITimeZoneFactory4_QueryTimeZoneDisplayName(string ID, out string DisplayName, out string longDisplayName)

Parameters

ID string
DisplayName string
longDisplayName string

ITimeZoneFactory4_QueryTimeZoneOlsonIDFromWindowsID(string, bool)

virtual string ITimeZoneFactory4_QueryTimeZoneOlsonIDFromWindowsID(string WindowsID, bool respectsDST)

Parameters

WindowsID string
respectsDST bool

Returns

string

ITimeZoneFactory4_QueryTimeZoneOlsonIDsFromWindowsID(string)

virtual string[] ITimeZoneFactory4_QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

string[]

ITimeZoneFactory4_QueryTimeZoneWindowsIDFromOlsonID(string)

virtual string ITimeZoneFactory4_QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string

ITimeZoneFactory4_ReloadTimeZones(string)

virtual void ITimeZoneFactory4_ReloadTimeZones(string FileName)

Parameters

FileName string

ITimeZoneFactory4_SaveTimeZones(string)

virtual void ITimeZoneFactory4_SaveTimeZones(string FileName)

Parameters

FileName string

ITimeZoneFactory4_UpdateOlsonIDFromWindowsID(ITimeReference)

virtual void ITimeZoneFactory4_UpdateOlsonIDFromWindowsID(ITimeReference TimeReference)

Parameters

TimeReference ITimeReference

IsValidLocaleID(int)

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

virtual 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.

virtual bool IsValidTimeZoneWindowsID(string WindowsID)

Parameters

WindowsID string

Returns

bool

NextLocaleID[int]

The locale ID that cyclicly proceeds the given locale ID.

virtual int NextLocaleID[int currenteLocaleID] { get; }

Parameters

currenteLocaleID int

Returns

int

NextTimeZoneID(string, out string)

The next time zone olson ID after the given time zone olson ID.

virtual void NextTimeZoneID(string currentTimeZoneOlsonID, out string nextTimeZoneOlsonID)

Parameters

currentTimeZoneOlsonID string
nextTimeZoneOlsonID string

NextTimeZoneWindowsID[string]

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

virtual string NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }

Parameters

currentTimeZoneWindowsID string

Returns

string

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

virtual ITimeReference QueryLocalTimeReference(bool exactMatch)

Parameters

exactMatch bool

Returns

ITimeReference

QueryLocalTimeZoneID()

Obtains the machine's current local time zone olson ID.

virtual string QueryLocalTimeZoneID()

Returns

string

QueryLocalTimeZoneWindowsID()

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

virtual string QueryLocalTimeZoneWindowsID()

Returns

string

QueryTimeZoneDefaultOffsets(string, out int, out int)

Get the default standard and daylight offsets in milliseconds for the time zone ID.

virtual void QueryTimeZoneDefaultOffsets(string ID, out int stdOffsetFromUTC, out int dstOffsetFromStd)

Parameters

ID string
stdOffsetFromUTC int
dstOffsetFromStd int

QueryTimeZoneDisplayName(string, out string, out string)

Get the display name, and long display name if it exists, for the time zone ID.

virtual void QueryTimeZoneDisplayName(string ID, out string DisplayName, out string longDisplayName)

Parameters

ID string
DisplayName string
longDisplayName string

QueryTimeZoneFormatNames(ITimeReference, double, out string, out string, out string, out string)

Get the various name information for the time zone ID. The abbreviation and windowsName return the daylight or standard version based on the date.

virtual void QueryTimeZoneFormatNames(ITimeReference TimeReference, double oadate, out string abbreviation, out string windowsName, out string location, out string locationPlusGeneric)

Parameters

TimeReference ITimeReference
oadate double
abbreviation string
windowsName string
location string
locationPlusGeneric string

QueryTimeZoneOlsonIDFromWindowsID(string, bool)

Returns the time zone olson ID that corresponds to the given time zone windows ID and respecting daylight saving time.

virtual string QueryTimeZoneOlsonIDFromWindowsID(string WindowsID, bool respectsDST)

Parameters

WindowsID string
respectsDST bool

Returns

string

QueryTimeZoneOlsonIDsFromWindowsID(string)

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

virtual 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.

virtual string QueryTimeZoneWindowsIDFromOlsonID(string olsonID)

Parameters

olsonID string

Returns

string

ReloadTimeZones(string)

Reload time zones.

virtual void ReloadTimeZones(string FileName)

Parameters

FileName string

SaveTimeZones(string)

Save time zones.

virtual void SaveTimeZones(string FileName)

Parameters

FileName string

UpdateOlsonIDFromWindowsID(ITimeReference)

Sets the time zone olson ID based on the time reference's windows ID and respecting daylight saving time.

virtual void UpdateOlsonIDFromWindowsID(ITimeReference TimeReference)

Parameters

TimeReference ITimeReference