FormattableFlags.Uppercase 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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'
格式说明符中的 ('\u0053'
)。
适用于 . 的 java.util.FormattableFlags.UPPERCASE
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。