Calendar.ComputeFields Method

Definition

Converts the current millisecond time value time to field values in fields[].

[Android.Runtime.Register("computeFields", "()V", "GetComputeFieldsHandler", ApiSince=24)]
protected virtual void ComputeFields ();
[<Android.Runtime.Register("computeFields", "()V", "GetComputeFieldsHandler", ApiSince=24)>]
abstract member ComputeFields : unit -> unit
override this.ComputeFields : unit -> unit
Attributes

Remarks

Converts the current millisecond time value time to field values in fields[]. This synchronizes the time field values with a new time that is set for the calendar. The time is <em>not</em> recomputed first; to recompute the time, then the fields, call the complete method.

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

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