Partager via


Time.Clear(String) Method

Definition

Clears all values, setting the timezone to the given timezone.

[Android.Runtime.Register("clear", "(Ljava/lang/String;)V", "GetClear_Ljava_lang_String_Handler")]
public virtual void Clear (string? timezoneId);
[<Android.Runtime.Register("clear", "(Ljava/lang/String;)V", "GetClear_Ljava_lang_String_Handler")>]
abstract member Clear : string -> unit
override this.Clear : string -> unit

Parameters

timezoneId
String

the timezone to use.

Attributes

Remarks

Clears all values, setting the timezone to the given timezone. Sets isDst to a negative value to mean "unknown".

Java documentation for android.text.format.Time.clear(java.lang.String).

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