Partager via


DateFormat.NumberFormat Property

Definition

Gets the number formatter which this date/time formatter uses to format and parse a time. -or- Allows you to set the number formatter.

public virtual Java.Text.NumberFormat NumberFormat { [Android.Runtime.Register("getNumberFormat", "()Ljava/text/NumberFormat;", "GetGetNumberFormatHandler")] get; [Android.Runtime.Register("setNumberFormat", "(Ljava/text/NumberFormat;)V", "GetSetNumberFormat_Ljava_text_NumberFormat_Handler")] set; }
[<get: Android.Runtime.Register("getNumberFormat", "()Ljava/text/NumberFormat;", "GetGetNumberFormatHandler")>]
[<set: Android.Runtime.Register("setNumberFormat", "(Ljava/text/NumberFormat;)V", "GetSetNumberFormat_Ljava_text_NumberFormat_Handler")>]
member this.NumberFormat : Java.Text.NumberFormat with get, set

Property Value

the number formatter which this date/time formatter uses.

Attributes

Remarks

Property getter documentation:

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

Java documentation for java.text.DateFormat.getNumberFormat().

Property setter documentation:

Allows you to set the number formatter.

Java documentation for java.text.DateFormat.setNumberFormat(java.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