TimeZone.Default Property

Definition

Gets the default TimeZone for this host. -or- Sets the TimeZone that is returned by the getDefault method.

public static Java.Util.TimeZone? Default { [Android.Runtime.Register("getDefault", "()Ljava/util/TimeZone;", "")] get; [Android.Runtime.Register("setDefault", "(Ljava/util/TimeZone;)V", "")] set; }
[<get: Android.Runtime.Register("getDefault", "()Ljava/util/TimeZone;", "")>]
[<set: Android.Runtime.Register("setDefault", "(Ljava/util/TimeZone;)V", "")>]
static member Default : Java.Util.TimeZone with get, set

Property Value

a default TimeZone.

Attributes

Remarks

Property getter documentation:

Gets the default TimeZone for this host. The source of the default TimeZone may vary with implementation.

Java documentation for java.util.TimeZone.getDefault().

Property setter documentation:

Sets the TimeZone that is returned by the getDefault method. timeZone is cached. If timeZone is null, the cached default TimeZone is cleared. This method doesn't change the value of the user.timezone property.

Java documentation for java.util.TimeZone.setDefault(java.util.TimeZone).

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