- getValue
Gets the year value. The year returned by this method is proleptic as per
get(YEAR).
- of
Obtains an instance of Year. This method accepts a year value from the proleptic
ISO calendar system
- parse
Obtains an instance of Year from a text string using a specific formatter. The
text is parsed using
- plusYears
Returns a copy of this year with the specified number of years added. This
instance is immutable and
- <init>
Constructor.
- format
Outputs this year as a String using the formatter. This year will be passed to
the formatter DateTim
- from
Obtains an instance of Year from a temporal object. A TemporalAccessor
represents some form of date
- getLong
Gets the value of the specified field from this year as a long. This queries
this year for the value
- isLeap
Checks if the year is a leap year, according to the ISO proleptic calendar
system rules. This method
- minusYears
Returns a copy of this year with the specified number of years subtracted. This
instance is immutabl
- plus
- range
Gets the range of valid values for the specified field. The range object
expresses the minimum and m