Share via


DateFormat.GetTimeInstance Method

Definition

Overloads

GetTimeInstance(DateFormatStyle)
GetTimeInstance(DateFormatStyle, ULocale)
GetTimeInstance(DateFormatStyle, Locale)
GetTimeInstance(Calendar, DateFormatStyle)
GetTimeInstance(Calendar, DateFormatStyle, ULocale)
GetTimeInstance(Calendar, DateFormatStyle, Locale)

GetTimeInstance(DateFormatStyle)

[Android.Runtime.Register("getTimeInstance", "(I)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Text.DateFormatStyle style);
[<Android.Runtime.Register("getTimeInstance", "(I)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Text.DateFormatStyle -> Android.Icu.Text.DateFormat

Parameters

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

GetTimeInstance(DateFormatStyle, ULocale)

[Android.Runtime.Register("getTimeInstance", "(ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Text.DateFormatStyle style, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getTimeInstance", "(ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Text.DateFormatStyle * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

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

GetTimeInstance(DateFormatStyle, Locale)

[Android.Runtime.Register("getTimeInstance", "(ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Text.DateFormatStyle style, Java.Util.Locale? aLocale);
[<Android.Runtime.Register("getTimeInstance", "(ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Text.DateFormatStyle * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

aLocale
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

GetTimeInstance(Calendar, DateFormatStyle)

[Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;I)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle timeStyle);
[<Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;I)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
timeStyle
DateFormatStyle

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

GetTimeInstance(Calendar, DateFormatStyle, ULocale)

[Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle timeStyle, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
timeStyle
DateFormatStyle
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

GetTimeInstance(Calendar, DateFormatStyle, Locale)

[Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetTimeInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle timeStyle, Java.Util.Locale? locale);
[<Android.Runtime.Register("getTimeInstance", "(Landroid/icu/util/Calendar;ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetTimeInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
timeStyle
DateFormatStyle
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