Interface ITimeZoneFactory3
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to members that control the Time Zone Factory.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("13A006D4-C2E5-44AF-B641-A09DB8216761")]
public interface 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)
Creates a time reference from a time zone ID.
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)
The first time zone olson ID.
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)
The next time zone olson ID after the given time zone olson ID.
void NextTimeZoneID(string currentTimeZoneOlsonID, out string nextTimeZoneOlsonID)
Parameters
QueryLocalTimeReference(bool)
ITimeReference QueryLocalTimeReference(bool exactMatch)
Parameters
exactMatchbool
Returns
QueryLocalTimeZoneID()
Obtains the machine's current local time zone olson ID.
string QueryLocalTimeZoneID()
Returns
QueryLocalTimeZoneWindowsID()
string QueryLocalTimeZoneWindowsID()
Returns
QueryTimeZoneDefaultOffsets(string, out int, out int)
Get the default standard and daylight offsets in milliseconds for the time zone ID.
void QueryTimeZoneDefaultOffsets(string ID, out int stdOffsetFromUTC, out int dstOffsetFromStd)
Parameters
QueryTimeZoneDisplayName(string, out string, out string)
Get the display name, and long display name if it exists, for the time zone ID.
void QueryTimeZoneDisplayName(string ID, out string DisplayName, out string longDisplayName)
Parameters
QueryTimeZoneOlsonIDFromWindowsID(string, bool)
Returns the time zone olson ID that corresponds to the given time zone windows ID and respecting daylight saving time.
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)
Sets the time zone olson ID based on the time reference's windows ID and respecting daylight saving time.
void UpdateOlsonIDFromWindowsID(ITimeReference TimeReference)
Parameters
TimeReferenceITimeReference