共用方式為


ZoneId.GetDisplayName(TextStyle, Locale) Method

Definition

[Android.Runtime.Register("getDisplayName", "(Ljava/time/format/TextStyle;Ljava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_Ljava_time_format_TextStyle_Ljava_util_Locale_Handler", ApiSince=26)]
public virtual string? GetDisplayName (Java.Time.Format.TextStyle? style, Java.Util.Locale? locale);
[<Android.Runtime.Register("getDisplayName", "(Ljava/time/format/TextStyle;Ljava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_Ljava_time_format_TextStyle_Ljava_util_Locale_Handler", ApiSince=26)>]
abstract member GetDisplayName : Java.Time.Format.TextStyle * Java.Util.Locale -> string
override this.GetDisplayName : Java.Time.Format.TextStyle * Java.Util.Locale -> string

Parameters

style
TextStyle
locale
Locale

Returns

Attributes

Applies to