Sprache

MonthDay.Parse Methode

Definition

Überlädt

Name Beschreibung
Parse(String)
Parse(ICharSequence)

Ruft eine Instanz von MonthDay aus einer Textzeichenfolge wie --12-03 ab.

Parse(ICharSequence, DateTimeFormatter)

Ruft eine Instanz von MonthDay aus einer Textzeichenfolge mithilfe eines bestimmten Formatierers ab.

Parse(String, DateTimeFormatter)

Parse(String)

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

Parameter

text
String

Gibt zurück

Gilt für:

Parse(ICharSequence)

Ruft eine Instanz von MonthDay aus einer Textzeichenfolge wie --12-03 ab.

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

Parameter

text
ICharSequence

der zu analysierende Text, z. B. "--12-03", nicht NULL

Gibt zurück

der analysierte Monatstag, nicht NULL

Attribute

Hinweise

Ruft eine Instanz von MonthDay aus einer Textzeichenfolge wie --12-03 ab. Die Zeichenfolge muss einen gültigen Monatstag darstellen. Das Format ist --MM-dd.

Java Referenz für java.time.MonthDay.parse.

Gilt für:

Parse(ICharSequence, DateTimeFormatter)

Ruft eine Instanz von MonthDay aus einer Textzeichenfolge mithilfe eines bestimmten Formatierers ab.

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

Parameter

text
ICharSequence

der zu analysierende Text, nicht NULL

formatter
DateTimeFormatter

der zu verwendende Formatierer, nicht NULL

Gibt zurück

der analysierte Monatstag, nicht NULL

Attribute

Hinweise

Muss hinzugefügt werden.

Java Referenz für java.time.MonthDay.parse.

Gilt für:

Parse(String, DateTimeFormatter)

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

Parameter

text
String
formatter
DateTimeFormatter

Gibt zurück

Gilt für: