FormattableFlags.Uppercase 字段

定义

注意

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

根据 java 的规则将输出转换为大写。

[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
属性

注解

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

out.toUpperCase()

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

适用于 . 的 java.util.FormattableFlags.UPPERCASEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于