TimeZoneNames.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 an instance of |
GetInstance(Locale) |
Returns an instance of |
GetInstance(ULocale)
Returns an instance of TimeZoneNames
for the specified locale.
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/TimeZoneNames;", "", ApiSince=24)]
public static Android.Icu.Text.TimeZoneNames? GetInstance (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/TimeZoneNames;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.TimeZoneNames
Parameters
- locale
- ULocale
The locale.
Returns
An instance of TimeZoneNames
- Attributes
Remarks
Returns an instance of TimeZoneNames
for the specified locale.
Java documentation for android.icu.text.TimeZoneNames.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 an instance of TimeZoneNames
for the specified
java.util.Locale
.
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/TimeZoneNames;", "", ApiSince=24)]
public static Android.Icu.Text.TimeZoneNames? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/TimeZoneNames;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.TimeZoneNames
Parameters
- locale
- Locale
The java.util.Locale
.
Returns
An instance of TimeZoneDisplayNames
- Attributes
Remarks
Returns an instance of TimeZoneNames
for the specified java.util.Locale
.
Java documentation for android.icu.text.TimeZoneNames.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.