Share via


TimeZone.GetTimeZone Method

Definition

Overloads

GetTimeZone(String)
GetTimeZone(String, TimeZoneType)

GetTimeZone(String)

[Android.Runtime.Register("getTimeZone", "(Ljava/lang/String;)Landroid/icu/util/TimeZone;", "", ApiSince=24)]
public static Android.Icu.Util.TimeZone? GetTimeZone (string? ID);
[<Android.Runtime.Register("getTimeZone", "(Ljava/lang/String;)Landroid/icu/util/TimeZone;", "", ApiSince=24)>]
static member GetTimeZone : string -> Android.Icu.Util.TimeZone

Parameters

ID
String

Returns

Attributes

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

GetTimeZone(String, TimeZoneType)

[Android.Runtime.Register("getTimeZone", "(Ljava/lang/String;I)Landroid/icu/util/TimeZone;", "", ApiSince=24)]
public static Android.Icu.Util.TimeZone? GetTimeZone (string? ID, Android.Icu.Util.TimeZoneType type);
[<Android.Runtime.Register("getTimeZone", "(Ljava/lang/String;I)Landroid/icu/util/TimeZone;", "", ApiSince=24)>]
static member GetTimeZone : string * Android.Icu.Util.TimeZoneType -> Android.Icu.Util.TimeZone

Parameters

ID
String

Returns

Attributes

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