TextClock.Is24HourModeEnabled Method

Definition

Indicates whether the system is currently using the 24-hour mode.

[Android.Runtime.Register("is24HourModeEnabled", "()Z", "GetIs24HourModeEnabledHandler")]
public virtual bool Is24HourModeEnabled ();
[<Android.Runtime.Register("is24HourModeEnabled", "()Z", "GetIs24HourModeEnabledHandler")>]
abstract member Is24HourModeEnabled : unit -> bool
override this.Is24HourModeEnabled : unit -> bool

Returns

Boolean

true if time should be displayed in 24-hour format, false if it should be displayed in 12-hour format.

Attributes

Remarks

Java documentation for android.widget.TextClock.is24HourModeEnabled().

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