Interface ITimeZoneFactory4
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to members that control the Time Zone Factory.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("011BA020-4783-4008-BA37-250479DC1CF2")]
public interface ITimeZoneFactory4 : ITimeZoneFactory3, ITimeZoneFactory2, ITimeZoneFactory
Properties
FirstLocaleID
int FirstLocaleID { get; }
Property Value
FirstTimeZoneWindowsID
string FirstTimeZoneWindowsID { get; }
Property Value
NextLocaleID[int]
int NextLocaleID[int currenteLocaleID] { get; }
Parameters
currenteLocaleIDint
Property Value
NextTimeZoneWindowsID[string]
string NextTimeZoneWindowsID[string currentTimeZoneWindowsID] { get; }
Parameters
currentTimeZoneWindowsIDstring
Property Value
Methods
CreateLocaleInfoFromLocaleID(int)
ILocaleInfo CreateLocaleInfoFromLocaleID(int LocaleID)
Parameters
LocaleIDint
Returns
CreateTimeReference(string)
ITimeReference CreateTimeReference(string ID)
Parameters
IDstring
Returns
CreateTimeReferenceFromWindowsID(string)
ITimeReference CreateTimeReferenceFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
CreateTimeZoneInfoFromWindowsID(string)
ITimeZoneInfo CreateTimeZoneInfoFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
FirstTimeZoneID(out string)
void FirstTimeZoneID(out string firstTimeZoneOlsonID)
Parameters
firstTimeZoneOlsonIDstring
IsValidLocaleID(int)
bool IsValidLocaleID(int LocaleID)
Parameters
LocaleIDint
Returns
IsValidTimeZoneWindowsID(string)
bool IsValidTimeZoneWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
NextTimeZoneID(string, out string)
void NextTimeZoneID(string currentTimeZoneOlsonID, out string nextTimeZoneOlsonID)
Parameters
QueryLocalTimeReference(bool)
ITimeReference QueryLocalTimeReference(bool exactMatch)
Parameters
exactMatchbool
Returns
QueryLocalTimeZoneID()
string QueryLocalTimeZoneID()
Returns
QueryLocalTimeZoneWindowsID()
string QueryLocalTimeZoneWindowsID()
Returns
QueryTimeZoneDefaultOffsets(string, out int, out int)
void QueryTimeZoneDefaultOffsets(string ID, out int stdOffsetFromUTC, out int dstOffsetFromStd)
Parameters
QueryTimeZoneDisplayName(string, out string, out string)
void QueryTimeZoneDisplayName(string ID, out string DisplayName, out string longDisplayName)
Parameters
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.
void QueryTimeZoneFormatNames(ITimeReference TimeReference, double oadate, out string abbreviation, out string windowsName, out string location, out string locationPlusGeneric)
Parameters
TimeReferenceITimeReferenceoadatedoubleabbreviationstringwindowsNamestringlocationstringlocationPlusGenericstring
QueryTimeZoneOlsonIDFromWindowsID(string, bool)
string QueryTimeZoneOlsonIDFromWindowsID(string WindowsID, bool respectsDST)
Parameters
Returns
QueryTimeZoneOlsonIDsFromWindowsID(string)
string[] QueryTimeZoneOlsonIDsFromWindowsID(string WindowsID)
Parameters
WindowsIDstring
Returns
- string[]
QueryTimeZoneWindowsIDFromOlsonID(string)
string QueryTimeZoneWindowsIDFromOlsonID(string olsonID)
Parameters
olsonIDstring
Returns
ReloadTimeZones(string)
void ReloadTimeZones(string FileName)
Parameters
FileNamestring
SaveTimeZones(string)
void SaveTimeZones(string FileName)
Parameters
FileNamestring
UpdateOlsonIDFromWindowsID(ITimeReference)
void UpdateOlsonIDFromWindowsID(ITimeReference TimeReference)
Parameters
TimeReferenceITimeReference