DateFormat.Field.CalendarField Property

Definition

Returns the Calendar field associated with this attribute.

public virtual Android.Icu.Util.CalendarField CalendarField { [Android.Runtime.Register("getCalendarField", "()I", "GetGetCalendarFieldHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getCalendarField", "()I", "GetGetCalendarFieldHandler", ApiSince=24)>]
member this.CalendarField : Android.Icu.Util.CalendarField

Property Value

Calendar constant for this attribute.

Attributes

Remarks

Returns the Calendar field associated with this attribute. If there is no corresponding Calendar available, this will return -1.

Java documentation for android.icu.text.DateFormat.Field.getCalendarField().

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