Calendar.Clear Calendar.Clear Method

Definition

Overloads

Clear() Clear()

Clears the values of all the time fields, marking them all unset and assigning them all a value of zero.

Clear(CalendarField) Clear(CalendarField)

Clears the value in the given time field, marking it unset and assigning it a value of zero.

Clear() Clear()

Clears the values of all the time fields, marking them all unset and assigning them all a value of zero.

[Android.Runtime.Register("clear", "()V", "")]
public void Clear ();
member this.Clear : unit -> unit

Remarks

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.

Clear(CalendarField) Clear(CalendarField)

Clears the value in the given time field, marking it unset and assigning it a value of zero.

[Android.Runtime.Register("clear", "(I)V", "")]
public void Clear (Java.Util.CalendarField field);
member this.Clear : Java.Util.CalendarField -> unit

Parameters

Remarks

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