DateFormat.GetTimeInstance 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
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
- style
- 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(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
- style
- 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(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
- style
- DateFormatStyle
- 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.