Year.Of(Int32) 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.
Obtains an instance of Year.
[Android.Runtime.Register("of", "(I)Ljava/time/Year;", "", ApiSince=26)]
public static Java.Time.Year? Of(int isoYear);
[<Android.Runtime.Register("of", "(I)Ljava/time/Year;", "", ApiSince=26)>]
static member Of : int -> Java.Time.Year
Parameters
- isoYear
- Int32
the ISO proleptic year to represent, from MIN_VALUE to MAX_VALUE
Returns
the year, not null
- Attributes
Remarks
Obtains an instance of Year. This method accepts a year value from the proleptic ISO calendar system. The year 2AD/CE is represented by 2. The year 1AD/CE is represented by 1. The year 1BC/BCE is represented by 0. The year 2BC/BCE is represented by -1.
Java reference for java.time.Year.of.