Provides access to members that control the Time Zone Factory.
Members
Name | Description | |
---|---|---|
![]() |
CreateLocaleInfoFromLocaleID | Obtains the locale display name that corresponds to the given locale ID. |
![]() |
CreateTimeReference | Creates a time reference from a time zone ID. |
![]() |
CreateTimeReferenceFromWindowsID | (Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID. |
![]() |
CreateTimeZoneInfoFromWindowsID | (Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time zone info from a windows ID. |
![]() |
FirstLocaleID | The first locale ID. |
![]() |
FirstTimeZoneID | The first time zone olson ID. |
![]() |
FirstTimeZoneWindowsID | The first time zone windows ID. |
![]() |
IsValidLocaleID | Returns whether a given locale ID is valid for creating a locale info. |
![]() |
IsValidTimeZoneWindowsID | Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference. |
![]() |
NextLocaleID | The locale ID that cyclicly proceeds the given locale ID. |
![]() |
NextTimeZoneID | The next time zone olson ID after the given time zone olson ID. |
![]() |
NextTimeZoneWindowsID | The time zone windows ID that cyclicly proceeds the given time zone windows ID. |
![]() |
QueryLocalTimeReference | 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 |
![]() |
QueryLocalTimeZoneID | Obtains the machine's current local time zone olson ID. |
![]() |
QueryLocalTimeZoneWindowsID | (Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID. |
![]() |
QueryTimeZoneDefaultOffsets | Get the default standard and daylight offsets in milliseconds for the time zone ID. |
![]() |
QueryTimeZoneDisplayName | Get the display name, and long display name if it exists, for the time zone ID. |
![]() |
QueryTimeZoneOlsonIDFromWindowsID | Returns the time zone olson ID that corresponds to the given time zone windows ID and respecting daylight saving time. |
![]() |
QueryTimeZoneOlsonIDsFromWindowsID | Obtains all the olson time zone IDs that correspond to the given time zone windows ID. |
![]() |
QueryTimeZoneWindowsIDFromOlsonID | Returns the time zone windows ID that corresponds to the given olson time zone ID. |
![]() |
ReloadTimeZones | Reload time zones. |
![]() |
SaveTimeZones | Save time zones. |
![]() |
UpdateOlsonIDFromWindowsID | Sets the time zone olson ID based on the time reference's windows ID and respecting daylight saving time. |
ITimeZoneFactory3.CreateTimeReference Method
Creates a time reference from a time zone ID.
Public Function CreateTimeReference ( _
ByVal ID As String _
) As ITimeReference
public ITimeReference CreateTimeReference (
string ID
);
ITimeZoneFactory3.FirstTimeZoneID Property
The first time zone olson ID.
Public Sub FirstTimeZoneID ( _
ByRef firstTimeZoneOlsonID As String _
)
public void FirstTimeZoneID (
ref string firstTimeZoneOlsonID
);
ITimeZoneFactory3.NextTimeZoneID Property
The next time zone olson ID after the given time zone olson ID.
Public Sub NextTimeZoneID ( _
ByVal currentTimeZoneOlsonID As String, _
ByRef nextTimeZoneOlsonID As String _
)
public void NextTimeZoneID (
string currentTimeZoneOlsonID,
ref string nextTimeZoneOlsonID
);
ITimeZoneFactory3.QueryLocalTimeZoneID Method
Obtains the machine's current local time zone olson ID.
Public Function QueryLocalTimeZoneID ( _
) As String
public string QueryLocalTimeZoneID (
);
ITimeZoneFactory3.QueryTimeZoneDefaultOffsets Method
Get the default standard and daylight offsets in milliseconds for the time zone ID.
Public Sub QueryTimeZoneDefaultOffsets ( _
ByVal ID As String, _
ByRef stdOffsetFromUTC As Integer, _
ByRef dstOffsetFromStd As Integer _
)
public void QueryTimeZoneDefaultOffsets (
string ID,
ref int stdOffsetFromUTC,
ref int dstOffsetFromStd
);
ITimeZoneFactory3.QueryTimeZoneDisplayName Method
Get the display name, and long display name if it exists, for the time zone ID.
Public Sub QueryTimeZoneDisplayName ( _
ByVal ID As String, _
ByRef DisplayName As String, _
ByRef longDisplayName As String _
)
public void QueryTimeZoneDisplayName (
string ID,
ref string DisplayName,
ref string longDisplayName
);
ITimeZoneFactory3.QueryTimeZoneOlsonIDFromWindowsID Method
Returns the time zone olson ID that corresponds to the given time zone windows ID and respecting daylight saving time.
Public Function QueryTimeZoneOlsonIDFromWindowsID ( _
ByVal WindowsID As String, _
ByVal respectsDST As Boolean _
) As String
public string QueryTimeZoneOlsonIDFromWindowsID (
string WindowsID,
bool respectsDST
);
ITimeZoneFactory3.UpdateOlsonIDFromWindowsID Method
Sets the time zone olson ID based on the time reference's windows ID and respecting daylight saving time.
Public Sub UpdateOlsonIDFromWindowsID ( _
ByVal TimeReference As ITimeReference _
)
public void UpdateOlsonIDFromWindowsID (
ITimeReference TimeReference
);
Inherited Interfaces
Interfaces | Description |
---|---|
ITimeZoneFactory2 | Provides access to members that control the Time Zone Factory. |
ITimeZoneFactory | Provides access to members that control the Time Zone Factory. |
Classes that implement ITimeZoneFactory3
Classes | Description |
---|