다음을 통해 공유


OffsetDateTime.Parse 메서드

정의

오버로드

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

Parse(ICharSequence)

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

매개 변수

반환

특성

적용 대상

Parse(String)

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

매개 변수

text
String

반환

적용 대상

Parse(ICharSequence, DateTimeFormatter)

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

매개 변수

formatter
DateTimeFormatter

반환

특성

적용 대상

Parse(String, DateTimeFormatter)

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

매개 변수

text
String
formatter
DateTimeFormatter

반환

적용 대상