Android.Widget.TextClock.Format12HourFormatted Property
Returns the formatting pattern used to display the date and/or time in 12-hour mode.

Syntax

[get: Android.Runtime.Register("getFormat12Hour", "()Ljava/lang/CharSequence;", "GetGetFormat12HourHandler")]
[set: Android.Runtime.Register("setFormat12Hour", "(Ljava/lang/CharSequence;)V", "GetSetFormat12Hour_Ljava_lang_CharSequence_Handler")]
public virtual Java.Lang.ICharSequence Format12HourFormatted { get; set; }

See Also

TextClock.Format12HourFormatted
TextClock.Is24HourModeEnabled
TextClock.Format12HourFormatted
TextClock.Is24HourModeEnabled
Android.Text.Format.DateFormat.GetBestDateTimePattern(Java.Util.Locale, System.String)
Android.Text.Format.DateFormat

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the formatting pattern used to display the date and/or time in 12-hour mode. The formatting pattern syntax is described in Android.Text.Format.DateFormat.

Set method documentation [Android Documentation]

Specifies the formatting pattern used to display the date and/or time in 12-hour mode. The formatting pattern syntax is described in Android.Text.Format.DateFormat.

If this pattern is set to null, TextClock.Format24HourFormatted will be used even in 12-hour mode. If both 24-hour and 12-hour formatting patterns are set to null, the default pattern for the current locale will be used instead.

Note: if styling is not needed, it is highly recommended you supply a format string generated by Android.Text.Format.DateFormat.GetBestDateTimePattern(Java.Util.Locale, System.String). This method takes care of generating a format string adapted to the desired locale.

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17