Partager via


DateFormat.NumberFormat Property

Definition

Returns the number formatter which this date/time formatter uses to format and parse a time. -or- Sets the number formatter.

public virtual Android.Icu.Text.NumberFormat? NumberFormat { [Android.Runtime.Register("getNumberFormat", "()Landroid/icu/text/NumberFormat;", "GetGetNumberFormatHandler", ApiSince=24)] get; [Android.Runtime.Register("setNumberFormat", "(Landroid/icu/text/NumberFormat;)V", "GetSetNumberFormat_Landroid_icu_text_NumberFormat_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getNumberFormat", "()Landroid/icu/text/NumberFormat;", "GetGetNumberFormatHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setNumberFormat", "(Landroid/icu/text/NumberFormat;)V", "GetSetNumberFormat_Landroid_icu_text_NumberFormat_Handler", ApiSince=24)>]
member this.NumberFormat : Android.Icu.Text.NumberFormat with get, set

Property Value

the number formatter which this date/time formatter uses.

Attributes

Remarks

Property getter documentation:

Returns the number formatter which this date/time formatter uses to format and parse a time.

Java documentation for android.icu.text.DateFormat.getNumberFormat().

Property setter documentation:

Sets the number formatter.

Java documentation for android.icu.text.DateFormat.setNumberFormat(android.icu.text.NumberFormat).

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