Calendar.HandleCreateFields Method

Definition

Subclasses that use additional fields beyond those defined in Calendar should override this method to return an int[] array of the appropriate length.

[Android.Runtime.Register("handleCreateFields", "()[I", "GetHandleCreateFieldsHandler", ApiSince=24)]
protected virtual int[]? HandleCreateFields ();
[<Android.Runtime.Register("handleCreateFields", "()[I", "GetHandleCreateFieldsHandler", ApiSince=24)>]
abstract member HandleCreateFields : unit -> int[]
override this.HandleCreateFields : unit -> int[]

Returns

Int32[]
Attributes

Remarks

Subclasses that use additional fields beyond those defined in Calendar should override this method to return an int[] array of the appropriate length. The length must be at least BASE_FIELD_COUNT and no more than MAX_FIELD_COUNT.

Java documentation for android.icu.util.Calendar.handleCreateFields().

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