Sdílet prostřednictvím


ZonedDateTime.Parse Method

Definition

Overloads

Parse(ICharSequence)
Parse(String, DateTimeFormatter)
Parse(ICharSequence, DateTimeFormatter)
Parse(String)

Parse(ICharSequence)

[Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Parse (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Parse : Java.Lang.ICharSequence -> Java.Time.ZonedDateTime

Parameters

Returns

Attributes

Applies to

Parse(String, DateTimeFormatter)

public static Java.Time.ZonedDateTime? Parse (string? text, Java.Time.Format.DateTimeFormatter? formatter);
static member Parse : string * Java.Time.Format.DateTimeFormatter -> Java.Time.ZonedDateTime

Parameters

text
String
formatter
DateTimeFormatter

Returns

Applies to

Parse(ICharSequence, DateTimeFormatter)

[Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Parse (Java.Lang.ICharSequence? text, Java.Time.Format.DateTimeFormatter? formatter);
[<Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Parse : Java.Lang.ICharSequence * Java.Time.Format.DateTimeFormatter -> Java.Time.ZonedDateTime

Parameters

formatter
DateTimeFormatter

Returns

Attributes

Applies to

Parse(String)

public static Java.Time.ZonedDateTime? Parse (string? text);
static member Parse : string -> Java.Time.ZonedDateTime

Parameters

text
String

Returns

Applies to