Year.Parse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Parse(String, DateTimeFormatter) | |
Parse(String) | |
Parse(ICharSequence, DateTimeFormatter) | |
Parse(ICharSequence) |
Parse(String, DateTimeFormatter)
public static Java.Time.Year? Parse (string? text, Java.Time.Format.DateTimeFormatter? formatter);
static member Parse : string * Java.Time.Format.DateTimeFormatter -> Java.Time.Year
Parameters
- text
- String
- formatter
- DateTimeFormatter
Returns
Applies to
Parse(String)
Parse(ICharSequence, DateTimeFormatter)
[Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/Year;", "", ApiSince=26)]
public static Java.Time.Year? Parse (Java.Lang.ICharSequence? text, Java.Time.Format.DateTimeFormatter? formatter);
[<Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/Year;", "", ApiSince=26)>]
static member Parse : Java.Lang.ICharSequence * Java.Time.Format.DateTimeFormatter -> Java.Time.Year
Parameters
- text
- ICharSequence
- formatter
- DateTimeFormatter
Returns
- Attributes
Applies to
Parse(ICharSequence)
[Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;)Ljava/time/Year;", "", ApiSince=26)]
public static Java.Time.Year? Parse (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("parse", "(Ljava/lang/CharSequence;)Ljava/time/Year;", "", ApiSince=26)>]
static member Parse : Java.Lang.ICharSequence -> Java.Time.Year
Parameters
- text
- ICharSequence
Returns
- Attributes