Share via


DateFormat.Hour1Field Field

Definition

Caution

This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.

FieldPosition selector for 'h' field alignment, corresponding to the Calendar#HOUR field.

[Android.Runtime.Register("HOUR1_FIELD", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)]
public const Android.Icu.Text.DateFormatField Hour1Field = 15;
[<Android.Runtime.Register("HOUR1_FIELD", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)>]
val mutable Hour1Field : Android.Icu.Text.DateFormatField

Field Value

Value = 15
Attributes

Remarks

FieldPosition selector for 'h' field alignment, corresponding to the Calendar#HOUR field. HOUR1_FIELD is used for the one-based 12-hour clock. For example, 11:30 PM + 1 hour results in 12:30 AM.

Java documentation for android.icu.text.DateFormat.HOUR1_FIELD.

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