Calendar.NewerField(Int32, Int32) Method

Definition

Returns the field that is newer, either defaultField, or alternateField.

[Android.Runtime.Register("newerField", "(II)I", "GetNewerField_IIHandler", ApiSince=24)]
protected virtual int NewerField (int defaultField, int alternateField);
[<Android.Runtime.Register("newerField", "(II)I", "GetNewerField_IIHandler", ApiSince=24)>]
abstract member NewerField : int * int -> int
override this.NewerField : int * int -> int

Parameters

defaultField
Int32
alternateField
Int32

Returns

Attributes

Remarks

Returns the field that is newer, either defaultField, or alternateField. If neither is newer or neither is set, return defaultField.

Java documentation for android.icu.util.Calendar.newerField(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