Language

SimpleDateFormat.PatternCharToDateFormatField(Char) Method

Definition

Returns a DateFormat.Field constant associated with the specified format pattern character.

[Android.Runtime.Register("patternCharToDateFormatField", "(C)Landroid/icu/text/DateFormat$Field;", "GetPatternCharToDateFormatField_CHandler", ApiSince=24)]
protected virtual Android.Icu.Text.DateFormat.Field? PatternCharToDateFormatField(char ch);
[<Android.Runtime.Register("patternCharToDateFormatField", "(C)Landroid/icu/text/DateFormat$Field;", "GetPatternCharToDateFormatField_CHandler", ApiSince=24)>]
abstract member PatternCharToDateFormatField : char -> Android.Icu.Text.DateFormat.Field
override this.PatternCharToDateFormatField : char -> Android.Icu.Text.DateFormat.Field

Parameters

ch
Char

The pattern character

Returns

DateFormat.Field associated with the pattern character

Attributes

Remarks

Returns a DateFormat.Field constant associated with the specified format pattern character.

Android reference for android.icu.text.SimpleDateFormat.patternCharToDateFormatField.

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