Partager via


DateFormat.ParseObject(String, ParsePosition) Method

Definition

Parses a date/time string into an Object.

[Android.Runtime.Register("parseObject", "(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object;", "GetParseObject_Ljava_lang_String_Ljava_text_ParsePosition_Handler", ApiSince=24)]
public override Java.Lang.Object? ParseObject (string? source, Java.Text.ParsePosition? pos);
[<Android.Runtime.Register("parseObject", "(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object;", "GetParseObject_Ljava_lang_String_Ljava_text_ParsePosition_Handler", ApiSince=24)>]
override this.ParseObject : string * Java.Text.ParsePosition -> Java.Lang.Object

Parameters

source
String

Returns

Attributes

Remarks

Parses a date/time string into an Object. This convenience method simply calls parse(String, ParsePosition).

Java documentation for android.icu.text.DateFormat.parseObject(java.lang.String, java.text.ParsePosition).

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