DateFormat.Field.CalendarField Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the Calendar
field associated with this
attribute.
public virtual int CalendarField { [Android.Runtime.Register("getCalendarField", "()I", "GetGetCalendarFieldHandler")] get; }
[<get: Android.Runtime.Register("getCalendarField", "()I", "GetGetCalendarFieldHandler")>]
member this.CalendarField : int
Property Value
Calendar constant for this field
- Attributes
Remarks
Returns the Calendar
field associated with this attribute. For example, if this represents the hours field of a Calendar
, this would return Calendar.HOUR
. If there is no corresponding Calendar
constant, this will return -1.
Java documentation for java.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.