| Modifier and Type | Method and Description |
|---|---|
static CalendarYear |
CalendarYear.from(GregorianDate date)
Converts given gregorian date to a calendar year.
|
static CalendarYear |
CalendarYear.from(Year year)
Converts given JSR-310-type to a calendar year.
|
CalendarYear |
CalendarYear.minus(Years<CalendarUnit> years)
Subtracts given years from this year.
|
static CalendarYear |
CalendarYear.nowInSystemTime()
Obtains the current calendar year in system time.
|
static CalendarYear |
CalendarYear.of(int year)
Creates a new instance based on given gregorian calendar year.
|
CalendarYear |
CalendarYear.plus(Years<CalendarUnit> years)
Adds given years to this year.
|
| Modifier and Type | Method and Description |
|---|---|
static Chronology<CalendarYear> |
CalendarYear.chronology()
Yields the associated chronology.
|
| Modifier and Type | Method and Description |
|---|---|
static Years<CalendarUnit> |
Years.between(CalendarYear y1,
CalendarYear y2)
Determines the difference in years between given calendar years.
|
int |
CalendarYear.compareTo(CalendarYear other) |
Copyright © 2014–2018. All rights reserved.