MapsTimeZoneClient.ConvertWindowsTimeZoneToIana Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use to get the IANA ID.
public virtual Azure.Response<Azure.Maps.TimeZones.IanaIdData> ConvertWindowsTimeZoneToIana (string windowsTimeZoneId, string windowsTerritoryCode = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertWindowsTimeZoneToIana : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.TimeZones.IanaIdData>
override this.ConvertWindowsTimeZoneToIana : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.TimeZones.IanaIdData>
Public Overridable Function ConvertWindowsTimeZoneToIana (windowsTimeZoneId As String, Optional windowsTerritoryCode As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IanaIdData)
Parameters
- windowsTimeZoneId
- String
The Windows time zone ID.
- windowsTerritoryCode
- String
Windows Time Zone territory code.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
windowsTimeZoneId
is null.
Remarks
The Get Windows to IANA Time Zone
API is an HTTP GET
request that returns a corresponding Internet Assigned Numbers Authority (IANA) ID, given a valid Windows Time Zone ID. Multiple IANA IDs may be returned for a single Windows ID. It is possible to narrow these results by adding an optional territory parameter.
Applies to
Azure SDK for .NET