SimpleDateFormat.ZeroPaddingNumber(Int64, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The integer value to format.
- minDigits
- Int32
The requested minimum integer-digit count.
- maxDigits
- Int32
The requested maximum integer-digit count.
Returns
The string produced by the configured number formatter using the requested integer-digit settings.
- 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.