共用方式為


DateTimeFormatterBuilder.AppendLocalizedOffset(TextStyle) Method

Definition

Appends the localized zone offset, such as 'GMT+01:00', to the formatter.

[Android.Runtime.Register("appendLocalizedOffset", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendLocalizedOffset (Java.Time.Format.TextStyle? style);
[<Android.Runtime.Register("appendLocalizedOffset", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendLocalizedOffset : Java.Time.Format.TextStyle -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

style
TextStyle

the format style to use, not null

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendLocalizedOffset(java.time.format.TextStyle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to