語言

TimeZoneConverter 類別

定義

時區轉換器。 (1) 從 Windows(.NET)時區到 iana 時區。 (2) 從 iana 時區到 windows(.NET)時區。 Windows 參考: https://support.microsoft.com/en-us/help/22803/daylight-saving-time。 伊安娜,參考人: https://www.iana.org/time-zones 請參閱 WindowsIanaMapping 檔案中的資料庫字典。

public static class TimeZoneConverter
type TimeZoneConverter = class
Public Class TimeZoneConverter
繼承
TimeZoneConverter

方法

名稱 Description
IanaToWindows(String)

將 IANA 時區格式轉換為 Windows 時區格式。

WindowsToIana(String)

把 Windows 的時區轉換成 IANA 時區。

適用於