다음을 통해 공유


Calendar.Clear Method

Definition

Overloads

Clear()

Clears the values of all the time fields.

Clear(CalendarField)

Clears the value in the given time field.

Clear()

Clears the values of all the time fields.

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

Remarks

Clears the values of all the time fields.

Java documentation for android.icu.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)

Clears the value in the given time field.

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

Parameters

field
CalendarField

the time field to be cleared.

Attributes

Remarks

Clears the value in the given time field.

Java documentation for android.icu.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