Udostępnij za pośrednictwem


DateTimeFormatterBuilder.PadNext Method

Definition

Overloads

PadNext(Int32)

Causes the next added printer/parser to pad to a fixed width using a space.

PadNext(Int32, Char)

Causes the next added printer/parser to pad to a fixed width.

PadNext(Int32)

Causes the next added printer/parser to pad to a fixed width using a space.

[Android.Runtime.Register("padNext", "(I)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? PadNext (int padWidth);
[<Android.Runtime.Register("padNext", "(I)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.PadNext : int -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

padWidth
Int32

the pad width, 1 or greater

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.padNext(int).

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

PadNext(Int32, Char)

Causes the next added printer/parser to pad to a fixed width.

[Android.Runtime.Register("padNext", "(IC)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? PadNext (int padWidth, char padChar);
[<Android.Runtime.Register("padNext", "(IC)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.PadNext : int * char -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

padWidth
Int32

the pad width, 1 or greater

padChar
Char

the pad character

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.padNext(int, char).

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