Udostępnij za pośrednictwem


FormattableFlags.Uppercase Field

Definition

Caution

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

Converts the output to upper case according to the rules of the 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

Field Value

Value = 2
Attributes

Remarks

Converts the output to upper case according to the rules of the java.util.Locale locale given during creation of the formatter argument of the Formattable#formatTo formatTo() method. The output should be equivalent the following invocation of String#toUpperCase(java.util.Locale)

out.toUpperCase()

This flag corresponds to 'S' ('&#92;u0053') in the format specifier.

Java documentation for java.util.FormattableFlags.UPPERCASE.

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