Uses of Class
net.time4j.range.CalendarYear
Packages that use CalendarYear
-
Uses of CalendarYear in net.time4j.range
Methods in net.time4j.range that return CalendarYearModifier and TypeMethodDescriptionstatic CalendarYearConverts given JSR-310-type to a calendar year.static CalendarYearCalendarYear.from(GregorianDate date)Converts given gregorian date to a calendar year.CalendarYear.minus(Years<CalendarUnit> years)Subtracts given years from this year.static CalendarYearCalendarYear.nowInSystemTime()Obtains the current calendar year in system time.static CalendarYearCalendarYear.of(int year)Creates a new instance based on given gregorian calendar year.CalendarYear.plus(Years<CalendarUnit> years)Adds given years to this year.Methods in net.time4j.range that return types with arguments of type CalendarYearModifier 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.Methods in net.time4j.range with parameters of type CalendarYearModifier 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.intCalendarYear.compareTo(CalendarYear other)