SimpleDateFormat.GetNumberFormat(Char) 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.
give the NumberFormat used for the field like 'y'(year) and 'M'(year)
[Android.Runtime.Register("getNumberFormat", "(C)Landroid/icu/text/NumberFormat;", "GetGetNumberFormat_CHandler", ApiSince=24)]
public virtual Android.Icu.Text.NumberFormat? GetNumberFormat (char field);
[<Android.Runtime.Register("getNumberFormat", "(C)Landroid/icu/text/NumberFormat;", "GetGetNumberFormat_CHandler", ApiSince=24)>]
abstract member GetNumberFormat : char -> Android.Icu.Text.NumberFormat
override this.GetNumberFormat : char -> Android.Icu.Text.NumberFormat
Parameters
- field
- Char
the field the user wants
Returns
override NumberFormat used for the field
- Attributes
Remarks
give the NumberFormat used for the field like 'y'(year) and 'M'(year)
Java documentation for android.icu.text.SimpleDateFormat.getNumberFormat(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.