- of
Obtains an instance of Year. This method accepts a year value from the proleptic
ISO calendar system
- getValue
Gets the year value. The year returned by this method is proleptic as per
get(YEAR).
- parse
Obtains an instance of Year from a text string using a specific formatter. The
text is parsed using
- now
Obtains the current year from the system clock in the specified time-zone. This
will query the Clock
- toString
Outputs this year as a String.
- atDay
Combines this year with a day-of-year to create a LocalDate. This returns a
LocalDate formed from th
- from
Obtains an instance of Year from a temporal object. A TemporalAccessor
represents some form of date
- isLeap
Checks if the year is a leap year, according to the ISO proleptic calendar
system rules. This method
- atMonthDay
Combines this year with a month-day to create a LocalDate. This returns a
LocalDate formed from this
- format
Outputs this year as a String using the formatter. This year will be passed to
the formatter DateTim
- atMonth
Combines this year with a month to create a YearMonth. This returns a YearMonth
formed from this yea
- compareTo
Compares this year to another year. The comparison is based on the value of the
year. It is "consist