语言

SimpleDateFormat.PatternCharToDateFormatField(Char) 方法

定义

返回与指定格式模式字符关联的 DateFormat.Field 常量。

[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

参数

ch
Char

模式字符

返回

与模式字符关联的 DateFormat.Field

特性

注解

返回与指定格式模式字符关联的 DateFormat.Field 常量。

Android 参考。android.icu.text.SimpleDateFormat.patternCharToDateFormatField

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于