| Package | Description |
|---|---|
| net.time4j.range |
Interval support.
|
| 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 CalendarPeriod<CalendarYear> |
CalendarPeriod.between(CalendarYear y1,
CalendarYear y2)
Creates a calendar period for given year range.
|
static Chronology<CalendarYear> |
CalendarYear.chronology()
Yields the associated chronology.
|
static CalendarPeriod.Parser<CalendarYear> |
CalendarPeriod.onYears()
Defines a parser on which new calendar intervals for years can be created.
|
static TimeLine<CalendarYear> |
CalendarYear.timeline()
Obtains a timeline for this type.
|
| Modifier and Type | Method and Description |
|---|---|
static Years<CalendarUnit> |
Years.between(CalendarYear y1,
CalendarYear y2)
Determines the difference in years between given calendar years.
|
static CalendarPeriod<CalendarYear> |
CalendarPeriod.between(CalendarYear y1,
CalendarYear y2)
Creates a calendar period for given year range.
|
int |
CalendarYear.compareTo(CalendarYear other) |
Copyright © 2014–2021. All rights reserved.