TimeZoneFormat.GetInstance 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.
Overloads
GetInstance(ULocale) |
Returns a frozen instance of |
GetInstance(Locale) |
Returns a frozen instance of |
GetInstance(ULocale)
Returns a frozen instance of TimeZoneFormat
for the given locale.
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/TimeZoneFormat;", "", ApiSince=24)]
public static Android.Icu.Text.TimeZoneFormat? GetInstance (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/TimeZoneFormat;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.TimeZoneFormat
Parameters
- locale
- ULocale
the locale.
Returns
a frozen instance of TimeZoneFormat
for the given locale.
- Attributes
Remarks
Returns a frozen instance of TimeZoneFormat
for the given locale.
<b>Note</b>: The instance returned by this method is frozen. If you want to customize a TimeZoneFormat, you must use #cloneAsThawed()
to get a thawed copy first.
Java documentation for android.icu.text.TimeZoneFormat.getInstance(android.icu.util.ULocale)
.
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
GetInstance(Locale)
Returns a frozen instance of TimeZoneFormat
for the given
java.util.Locale
.
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/TimeZoneFormat;", "", ApiSince=24)]
public static Android.Icu.Text.TimeZoneFormat? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/TimeZoneFormat;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.TimeZoneFormat
Parameters
- locale
- Locale
the Locale
.
Returns
a frozen instance of TimeZoneFormat
for the given locale.
- Attributes
Remarks
Returns a frozen instance of TimeZoneFormat
for the given java.util.Locale
.
<b>Note</b>: The instance returned by this method is frozen. If you want to customize a TimeZoneFormat, you must use #cloneAsThawed()
to get a thawed copy first.
Java documentation for android.icu.text.TimeZoneFormat.getInstance(java.util.Locale)
.
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.