ZonedDateTime.WithFixedOffsetZone 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一份將區域 ID 設為偏移的日期時間副本。
[Android.Runtime.Register("withFixedOffsetZone", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public Java.Time.ZonedDateTime? WithFixedOffsetZone();
[<Android.Runtime.Register("withFixedOffsetZone", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
member this.WithFixedOffsetZone : unit -> Java.Time.ZonedDateTime
傳回
一個區域 ID 設為偏移量的 ZonedDateTime,而非 null
- 屬性
備註
要加入。
Java 參考 java.time.ZonedDateTime.withFixedOffsetZone。