共用方式為


TimeZoneFormat.Parse Method

Definition

Overloads

Parse(String)
Parse(String, ParsePosition)
Parse(TimeZoneFormat+Style, String, ParsePosition, Output)
Parse(TimeZoneFormat+Style, String, ParsePosition, EnumSet, Output)

Parse(String)

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

Parameters

text
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

Parse(String, ParsePosition)

[Android.Runtime.Register("parse", "(Ljava/lang/String;Ljava/text/ParsePosition;)Landroid/icu/util/TimeZone;", "", ApiSince=24)]
public Android.Icu.Util.TimeZone? Parse (string? text, Java.Text.ParsePosition? pos);
[<Android.Runtime.Register("parse", "(Ljava/lang/String;Ljava/text/ParsePosition;)Landroid/icu/util/TimeZone;", "", ApiSince=24)>]
member this.Parse : string * Java.Text.ParsePosition -> Android.Icu.Util.TimeZone

Parameters

text
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

Parse(TimeZoneFormat+Style, String, ParsePosition, Output)

[Android.Runtime.Register("parse", "(Landroid/icu/text/TimeZoneFormat$Style;Ljava/lang/String;Ljava/text/ParsePosition;Landroid/icu/util/Output;)Landroid/icu/util/TimeZone;", "GetParse_Landroid_icu_text_TimeZoneFormat_Style_Ljava_lang_String_Ljava_text_ParsePosition_Landroid_icu_util_Output_Handler", ApiSince=24)]
public virtual Android.Icu.Util.TimeZone? Parse (Android.Icu.Text.TimeZoneFormat.Style? style, string? text, Java.Text.ParsePosition? pos, Android.Icu.Util.Output? timeType);
[<Android.Runtime.Register("parse", "(Landroid/icu/text/TimeZoneFormat$Style;Ljava/lang/String;Ljava/text/ParsePosition;Landroid/icu/util/Output;)Landroid/icu/util/TimeZone;", "GetParse_Landroid_icu_text_TimeZoneFormat_Style_Ljava_lang_String_Ljava_text_ParsePosition_Landroid_icu_util_Output_Handler", ApiSince=24)>]
abstract member Parse : Android.Icu.Text.TimeZoneFormat.Style * string * Java.Text.ParsePosition * Android.Icu.Util.Output -> Android.Icu.Util.TimeZone
override this.Parse : Android.Icu.Text.TimeZoneFormat.Style * string * Java.Text.ParsePosition * Android.Icu.Util.Output -> Android.Icu.Util.TimeZone

Parameters

text
String
timeType
Output

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

Parse(TimeZoneFormat+Style, String, ParsePosition, EnumSet, Output)

[Android.Runtime.Register("parse", "(Landroid/icu/text/TimeZoneFormat$Style;Ljava/lang/String;Ljava/text/ParsePosition;Ljava/util/EnumSet;Landroid/icu/util/Output;)Landroid/icu/util/TimeZone;", "GetParse_Landroid_icu_text_TimeZoneFormat_Style_Ljava_lang_String_Ljava_text_ParsePosition_Ljava_util_EnumSet_Landroid_icu_util_Output_Handler", ApiSince=24)]
public virtual Android.Icu.Util.TimeZone? Parse (Android.Icu.Text.TimeZoneFormat.Style? style, string? text, Java.Text.ParsePosition? pos, Java.Util.EnumSet? options, Android.Icu.Util.Output? timeType);
[<Android.Runtime.Register("parse", "(Landroid/icu/text/TimeZoneFormat$Style;Ljava/lang/String;Ljava/text/ParsePosition;Ljava/util/EnumSet;Landroid/icu/util/Output;)Landroid/icu/util/TimeZone;", "GetParse_Landroid_icu_text_TimeZoneFormat_Style_Ljava_lang_String_Ljava_text_ParsePosition_Ljava_util_EnumSet_Landroid_icu_util_Output_Handler", ApiSince=24)>]
abstract member Parse : Android.Icu.Text.TimeZoneFormat.Style * string * Java.Text.ParsePosition * Java.Util.EnumSet * Android.Icu.Util.Output -> Android.Icu.Util.TimeZone
override this.Parse : Android.Icu.Text.TimeZoneFormat.Style * string * Java.Text.ParsePosition * Java.Util.EnumSet * Android.Icu.Util.Output -> Android.Icu.Util.TimeZone

Parameters

text
String
options
EnumSet
timeType
Output

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