Share via


Calendar.Clear Method

Definition

Overloads

Clear()

Sets all the calendar field values and the time value (millisecond offset from the "#Epoch">Epoch) of this Calendar undefined.

Clear(CalendarField)

Sets the given calendar field value and the time value (millisecond offset from the "#Epoch">Epoch) of this Calendar undefined.

Clear()

Sets all the calendar field values and the time value (millisecond offset from the "#Epoch">Epoch) of this Calendar undefined.

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

Remarks

Java documentation for java.util.Calendar.clear().

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

Clear(CalendarField)

Sets the given calendar field value and the time value (millisecond offset from the "#Epoch">Epoch) of this Calendar undefined.

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

Parameters

field
CalendarField

the calendar field to be cleared.

Attributes

Remarks

Java documentation for java.util.Calendar.clear(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