Uses of Class
net.time4j.range.CalendarYear
-
Uses of CalendarYear in net.time4j.range
Modifier and TypeMethodDescriptionstatic CalendarYear
Converts given JSR-310-type to a calendar year.static CalendarYear
CalendarYear.from(GregorianDate date)
Converts given gregorian date to a calendar year.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.plus(Years<CalendarUnit> years)
Adds given years to this year.Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic CalendarPeriod<CalendarYear>
CalendarPeriod.between(CalendarYear y1, CalendarYear y2)
Creates a calendar period for given year range.static Years<CalendarUnit>
Years.between(CalendarYear y1, CalendarYear y2)
Determines the difference in years between given calendar years.int
CalendarYear.compareTo(CalendarYear other)