Calendar.InternalGet Method

Definition

Overloads

InternalGet(CalendarField, Int32)

Returns the value for a given time field, or return the given default value if the field is not set.

InternalGet(CalendarField)

Returns the value for a given time field.

InternalGet(CalendarField, Int32)

Returns the value for a given time field, or return the given default value if the field is not set.

[Android.Runtime.Register("internalGet", "(II)I", "", ApiSince=24)]
protected int InternalGet (Android.Icu.Util.CalendarField field, int defaultValue);
[<Android.Runtime.Register("internalGet", "(II)I", "", ApiSince=24)>]
member this.InternalGet : Android.Icu.Util.CalendarField * int -> int

Parameters

field
CalendarField

the given time field.

defaultValue
Int32

value to return if field is not set

Returns

the value for the given time field of defaultValue if the field is unset

Attributes

Remarks

Returns the value for a given time field, or return the given default value if the field is not set. This is an internal method for subclasses that does <em>not</em> trigger any calculations.

Java documentation for android.icu.util.Calendar.internalGet(int, int).

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

InternalGet(CalendarField)

Returns the value for a given time field.

[Android.Runtime.Register("internalGet", "(I)I", "", ApiSince=24)]
protected int InternalGet (Android.Icu.Util.CalendarField field);
[<Android.Runtime.Register("internalGet", "(I)I", "", ApiSince=24)>]
member this.InternalGet : Android.Icu.Util.CalendarField -> int

Parameters

field
CalendarField

the given time field.

Returns

the value for the given time field.

Attributes

Remarks

Returns the value for a given time field. This is an internal method for subclasses that does <em>not</em> trigger any calculations.

Java documentation for android.icu.util.Calendar.internalGet(int).

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