Share via


DateFormat.GetDateTimeInstance Method

Definition

Overloads

GetDateTimeInstance(DateFormatStyle, Int32)
GetDateTimeInstance(DateFormatStyle, Int32, ULocale)
GetDateTimeInstance(DateFormatStyle, Int32, Locale)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32, ULocale)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32, Locale)

GetDateTimeInstance(DateFormatStyle, Int32)

[Android.Runtime.Register("getDateTimeInstance", "(II)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateTimeInstance (Android.Icu.Text.DateFormatStyle dateStyle, int timeStyle);
[<Android.Runtime.Register("getDateTimeInstance", "(II)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateTimeInstance : Android.Icu.Text.DateFormatStyle * int -> Android.Icu.Text.DateFormat

Parameters

dateStyle
DateFormatStyle
timeStyle
Int32

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

GetDateTimeInstance(DateFormatStyle, Int32, ULocale)

[Android.Runtime.Register("getDateTimeInstance", "(IILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateTimeInstance (Android.Icu.Text.DateFormatStyle dateStyle, int timeStyle, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getDateTimeInstance", "(IILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateTimeInstance : Android.Icu.Text.DateFormatStyle * int * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

dateStyle
DateFormatStyle
timeStyle
Int32
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

GetDateTimeInstance(DateFormatStyle, Int32, Locale)

[Android.Runtime.Register("getDateTimeInstance", "(IILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateTimeInstance (Android.Icu.Text.DateFormatStyle dateStyle, int timeStyle, Java.Util.Locale? aLocale);
[<Android.Runtime.Register("getDateTimeInstance", "(IILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateTimeInstance : Android.Icu.Text.DateFormatStyle * int * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

dateStyle
DateFormatStyle
timeStyle
Int32
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

GetDateTimeInstance(Calendar, DateFormatStyle, Int32)

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

Parameters

cal
Calendar
dateStyle
DateFormatStyle
timeStyle
Int32

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

GetDateTimeInstance(Calendar, DateFormatStyle, Int32, ULocale)

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

Parameters

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

GetDateTimeInstance(Calendar, DateFormatStyle, Int32, Locale)

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

Parameters

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