Partager via


DateFormat.HourOfDay0Field Field

Definition

Useful constant for zero-based HOUR_OF_DAY field alignment.

[Android.Runtime.Register("HOUR_OF_DAY0_FIELD")]
public const int HourOfDay0Field = 5;
[<Android.Runtime.Register("HOUR_OF_DAY0_FIELD")>]
val mutable HourOfDay0Field : int

Field Value

Value = 5
Attributes

Remarks

Useful constant for zero-based HOUR_OF_DAY field alignment. Used in FieldPosition of date/time formatting. HOUR_OF_DAY0_FIELD is used for the zero-based 24-hour clock. For example, 23:59 + 01:00 results in 00:59.

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