共用方式為


OffsetDateTime.WithOffsetSameLocal(ZoneOffset) Method

Definition

[Android.Runtime.Register("withOffsetSameLocal", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public Java.Time.OffsetDateTime? WithOffsetSameLocal (Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("withOffsetSameLocal", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
member this.WithOffsetSameLocal : Java.Time.ZoneOffset -> Java.Time.OffsetDateTime

Parameters

offset
ZoneOffset

Returns

Attributes

Applies to