TimeZoneNames.GetMetaZoneDisplayName(String, TimeZoneNames+NameType) Method

Definition

Returns the display name of the meta zone.

[Android.Runtime.Register("getMetaZoneDisplayName", "(Ljava/lang/String;Landroid/icu/text/TimeZoneNames$NameType;)Ljava/lang/String;", "GetGetMetaZoneDisplayName_Ljava_lang_String_Landroid_icu_text_TimeZoneNames_NameType_Handler", ApiSince=24)]
public abstract string? GetMetaZoneDisplayName(string? mzID, Android.Icu.Text.TimeZoneNames.NameType? type);
[<Android.Runtime.Register("getMetaZoneDisplayName", "(Ljava/lang/String;Landroid/icu/text/TimeZoneNames$NameType;)Ljava/lang/String;", "GetGetMetaZoneDisplayName_Ljava_lang_String_Landroid_icu_text_TimeZoneNames_NameType_Handler", ApiSince=24)>]
abstract member GetMetaZoneDisplayName : string * Android.Icu.Text.TimeZoneNames.NameType -> string

Parameters

mzID
String

The meta zone ID.

type
TimeZoneNames.NameType

The display name type. See TimeZoneNames.NameType.

Returns

The display name of the meta zone. When this object does not have a localized display name for the given meta zone with the specified type or the implementation does not provide any display names associated with meta zones, null is returned.

Attributes

Remarks

Returns the display name of the meta zone.

Android reference for android.icu.text.TimeZoneNames.getMetaZoneDisplayName.

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