Share via


DateFormat.HourOfDay Field

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("HOUR_OF_DAY")]
[System.Obsolete("deprecated")]
public const char HourOfDay;
[<Android.Runtime.Register("HOUR_OF_DAY")>]
[<System.Obsolete("deprecated")>]
val mutable HourOfDay : char

Field Value

Attributes

Remarks

This member is deprecated. Use a literal 'H' (for compatibility with SimpleDateFormat and Unicode) or 'k' (for compatibility with Android releases up to and including Jelly Bean MR-1) instead. Note that the two are incompatible.

Java documentation for android.text.format.DateFormat.HOUR_OF_DAY.

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