共用方式為


DateFormat.GetPatternInstance Method

Definition

Overloads

GetPatternInstance(Calendar, String, Locale)
GetPatternInstance(Calendar, String, ULocale)
GetPatternInstance(String)
GetPatternInstance(String, ULocale)
GetPatternInstance(String, Locale)

GetPatternInstance(Calendar, String, Locale)

[Android.Runtime.Register("getPatternInstance", "(Landroid/icu/util/Calendar;Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetPatternInstance (Android.Icu.Util.Calendar? cal, string? skeleton, Java.Util.Locale? locale);
[<Android.Runtime.Register("getPatternInstance", "(Landroid/icu/util/Calendar;Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetPatternInstance : Android.Icu.Util.Calendar * string * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
skeleton
String
locale
Locale

Returns

Attributes

Remarks

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

GetPatternInstance(Calendar, String, ULocale)

[Android.Runtime.Register("getPatternInstance", "(Landroid/icu/util/Calendar;Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetPatternInstance (Android.Icu.Util.Calendar? cal, string? skeleton, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getPatternInstance", "(Landroid/icu/util/Calendar;Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetPatternInstance : Android.Icu.Util.Calendar * string * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
skeleton
String
locale
ULocale

Returns

Attributes

Remarks

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

GetPatternInstance(String)

[Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetPatternInstance (string? skeleton);
[<Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetPatternInstance : string -> Android.Icu.Text.DateFormat

Parameters

skeleton
String

Returns

Attributes

Remarks

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

GetPatternInstance(String, ULocale)

[Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetPatternInstance (string? skeleton, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetPatternInstance : string * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

skeleton
String
locale
ULocale

Returns

Attributes

Remarks

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

GetPatternInstance(String, Locale)

[Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetPatternInstance (string? skeleton, Java.Util.Locale? locale);
[<Android.Runtime.Register("getPatternInstance", "(Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetPatternInstance : string * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

skeleton
String
locale
Locale

Returns

Attributes

Remarks

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