ZoneRules.GetStandardOffset(Instant) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在該區域內,獲得指定瞬間的標準偏移量。
[Android.Runtime.Register("getStandardOffset", "(Ljava/time/Instant;)Ljava/time/ZoneOffset;", "", ApiSince=26)]
public Java.Time.ZoneOffset? GetStandardOffset(Java.Time.Instant? instant);
[<Android.Runtime.Register("getStandardOffset", "(Ljava/time/Instant;)Ljava/time/ZoneOffset;", "", ApiSince=26)>]
member this.GetStandardOffset : Java.Time.Instant -> Java.Time.ZoneOffset
參數
- instant
- Instant
尋找偏移資訊的瞬間; null 如果規則對所有時刻都只有單一標準偏移,則可忽略此規則。
傳回
指定瞬間的標準偏移量。
- 屬性