TimeZoneFormat.SetGMTPattern(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the localized GMT format pattern.
[Android.Runtime.Register("setGMTPattern", "(Ljava/lang/String;)Landroid/icu/text/TimeZoneFormat;", "GetSetGMTPattern_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Android.Icu.Text.TimeZoneFormat? SetGMTPattern (string? pattern);
[<Android.Runtime.Register("setGMTPattern", "(Ljava/lang/String;)Landroid/icu/text/TimeZoneFormat;", "GetSetGMTPattern_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member SetGMTPattern : string -> Android.Icu.Text.TimeZoneFormat
override this.SetGMTPattern : string -> Android.Icu.Text.TimeZoneFormat
Parameters
- pattern
- String
the localized GMT format pattern string
Returns
this object.
- Attributes
Remarks
Sets the localized GMT format pattern. The pattern must contain a single argument {0}, for example "GMT {0}".
Java documentation for android.icu.text.TimeZoneFormat.setGMTPattern(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.