Udostępnij za pośrednictwem


TextClock.DefaultFormat24Hour Property

Definition

Caution

deprecated

The default formatting pattern in 24-hour mode.

[Android.Runtime.Register("DEFAULT_FORMAT_24_HOUR")]
[System.Obsolete("deprecated")]
public static Java.Lang.ICharSequence? DefaultFormat24Hour { get; }
[<Android.Runtime.Register("DEFAULT_FORMAT_24_HOUR")>]
[<System.Obsolete("deprecated")>]
static member DefaultFormat24Hour : Java.Lang.ICharSequence

Property Value

Attributes

Remarks

The default formatting pattern in 24-hour mode. This pattern is used if #setFormat24Hour(CharSequence) is called with a null pattern or if no pattern was specified when creating an instance of this class.

This default pattern shows only the time, hours and minutes.

This member is deprecated. Let the system use locale-appropriate defaults instead.

Java documentation for android.widget.TextClock.DEFAULT_FORMAT_24_HOUR.

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

See also