共用方式為


TimeZoneFormat.SetGMTOffsetPattern Method

Definition

[Android.Runtime.Register("setGMTOffsetPattern", "(Landroid/icu/text/TimeZoneFormat$GMTOffsetPatternType;Ljava/lang/String;)Landroid/icu/text/TimeZoneFormat;", "GetSetGMTOffsetPattern_Landroid_icu_text_TimeZoneFormat_GMTOffsetPatternType_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Android.Icu.Text.TimeZoneFormat? SetGMTOffsetPattern (Android.Icu.Text.TimeZoneFormat.GMTOffsetPatternType? type, string? pattern);
[<Android.Runtime.Register("setGMTOffsetPattern", "(Landroid/icu/text/TimeZoneFormat$GMTOffsetPatternType;Ljava/lang/String;)Landroid/icu/text/TimeZoneFormat;", "GetSetGMTOffsetPattern_Landroid_icu_text_TimeZoneFormat_GMTOffsetPatternType_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member SetGMTOffsetPattern : Android.Icu.Text.TimeZoneFormat.GMTOffsetPatternType * string -> Android.Icu.Text.TimeZoneFormat
override this.SetGMTOffsetPattern : Android.Icu.Text.TimeZoneFormat.GMTOffsetPatternType * string -> Android.Icu.Text.TimeZoneFormat

Parameters

pattern
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