Compartir a través de


SimpleDateFormat Constructors

Definition

Overloads

SimpleDateFormat()
SimpleDateFormat(String)
SimpleDateFormat(IntPtr, JniHandleOwnership)
SimpleDateFormat(String, DateFormatSymbols)
SimpleDateFormat(String, ULocale)
SimpleDateFormat(String, Locale)
SimpleDateFormat(String, String, ULocale)

SimpleDateFormat()

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public SimpleDateFormat ();
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

SimpleDateFormat(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)]
public SimpleDateFormat (string? pattern);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)>]
new Android.Icu.Text.SimpleDateFormat : string -> Android.Icu.Text.SimpleDateFormat

Parameters

pattern
String
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

SimpleDateFormat(IntPtr, JniHandleOwnership)

protected SimpleDateFormat (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Text.SimpleDateFormat : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Text.SimpleDateFormat

Parameters

javaReference
IntPtr

nativeint

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

SimpleDateFormat(String, DateFormatSymbols)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/text/DateFormatSymbols;)V", "", ApiSince=24)]
public SimpleDateFormat (string? pattern, Android.Icu.Text.DateFormatSymbols? formatData);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/text/DateFormatSymbols;)V", "", ApiSince=24)>]
new Android.Icu.Text.SimpleDateFormat : string * Android.Icu.Text.DateFormatSymbols -> Android.Icu.Text.SimpleDateFormat

Parameters

pattern
String
formatData
DateFormatSymbols
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

SimpleDateFormat(String, ULocale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public SimpleDateFormat (string? pattern, Android.Icu.Util.ULocale? loc);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.SimpleDateFormat : string * Android.Icu.Util.ULocale -> Android.Icu.Text.SimpleDateFormat

Parameters

pattern
String
loc
ULocale
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

SimpleDateFormat(String, Locale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;)V", "", ApiSince=24)]
public SimpleDateFormat (string? pattern, Java.Util.Locale? loc);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.SimpleDateFormat : string * Java.Util.Locale -> Android.Icu.Text.SimpleDateFormat

Parameters

pattern
String
loc
Locale
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

SimpleDateFormat(String, String, ULocale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public SimpleDateFormat (string? pattern, string? override, Android.Icu.Util.ULocale? loc);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.SimpleDateFormat : string * string * Android.Icu.Util.ULocale -> Android.Icu.Text.SimpleDateFormat

Parameters

pattern
String
override
String
loc
ULocale
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