语言

FormattableFlags.Uppercase 字段

定义

注意

This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.

根据创建方法参数formatter期间Formattable#formatTo formatTo()给定的 java.util.Locale 区域设置规则,将输出转换为大写。

[Android.Runtime.Register("UPPERCASE")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.", true)]
public const Java.Util.FormatFlags Uppercase = 2;
[<Android.Runtime.Register("UPPERCASE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.", true)>]
val mutable Uppercase : Java.Util.FormatFlags

字段值

Value = 2
特性

注解

根据创建方法参数formatter期间Formattable#formatTo formatTo()给定的 java.util.Locale 区域设置规则,将输出转换为大写。 输出应等效于以下调用 String#toUpperCase(java.util.Locale)

out.toUpperCase()

此标志对应于 'S' 格式说明符中的 ('&#92;u0053')。

Java文档java.util.FormattableFlags.UPPERCASE。

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

适用于