DateFormat.Hour0Field Field

Definition

Useful constant for zero-based HOUR field alignment.

[Android.Runtime.Register("HOUR0_FIELD")]
public const int Hour0Field = 16;
[<Android.Runtime.Register("HOUR0_FIELD")>]
val mutable Hour0Field : int

Field Value

Value = 16
Attributes

Remarks

Useful constant for zero-based HOUR field alignment. Used in FieldPosition of date/time formatting. HOUR0_FIELD is used for the zero-based 12-hour clock. For example, 11:30 PM + 1 hour results in 00:30 AM.

Java documentation for java.text.DateFormat.HOUR0_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