Udostępnij za pośrednictwem


DateFormat.YearField Field

Definition

Useful constant for YEAR field alignment.

[Android.Runtime.Register("YEAR_FIELD")]
public const int YearField = 1;
[<Android.Runtime.Register("YEAR_FIELD")>]
val mutable YearField : int

Field Value

Value = 1
Attributes

Remarks

Useful constant for YEAR field alignment. Used in FieldPosition of date/time formatting.

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