다음을 통해 공유


SimpleDateFormat.ZeroPaddingNumber(Int64, Int32, Int32) Method

Definition

Formats a number with the specified minimum and maximum number of digits.

[Android.Runtime.Register("zeroPaddingNumber", "(JII)Ljava/lang/String;", "GetZeroPaddingNumber_JIIHandler", ApiSince=24)]
protected virtual string? ZeroPaddingNumber (long value, int minDigits, int maxDigits);
[<Android.Runtime.Register("zeroPaddingNumber", "(JII)Ljava/lang/String;", "GetZeroPaddingNumber_JIIHandler", ApiSince=24)>]
abstract member ZeroPaddingNumber : int64 * int * int -> string
override this.ZeroPaddingNumber : int64 * int * int -> string

Parameters

value
Int64
minDigits
Int32
maxDigits
Int32

Returns

Attributes

Remarks

Formats a number with the specified minimum and maximum number of digits.

Java documentation for android.icu.text.SimpleDateFormat.zeroPaddingNumber(long, int, 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