DateFormat.Hour1Field Field

Definition

Useful constant for one-based HOUR field alignment.

[Android.Runtime.Register("HOUR1_FIELD")]
public const int Hour1Field = 15;
[<Android.Runtime.Register("HOUR1_FIELD")>]
val mutable Hour1Field : int

Field Value

Value = 15
Attributes

Remarks

Useful constant for one-based HOUR field alignment. Used in FieldPosition of date/time formatting. 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 java.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