Uses of Class
javax.time.calendar.Year
-
Packages that use Year Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations.javax.time.calendar.zone Provides classes to implement time-zones and their rules. -
-
Uses of Year in javax.time.calendar
Methods in javax.time.calendar that return Year Modifier and Type Method Description YearYear. minus(PeriodProvider periodProvider)Returns a copy of thisYearwith the specified period subtracted.YearYear. minusYears(long years)Returns a copy of this Year with the specified number of years subtracted.YearYear. next()Returns the next year.YearYear. nextLeap()Returns the next leap year after the current year.static YearYear. now()Obtains the current year from the system clock in the default time-zone.static YearYear. now(Clock clock)Obtains the current year from the specified clock.static YearYear. of(int isoYear)Obtains an instance ofYear.static YearYear. of(Calendrical calendrical)Obtains an instance ofYearfrom a calendrical.YearYear. plus(PeriodProvider periodProvider)Returns a copy of thisYearwith the specified period added.YearYear. plusYears(long years)Returns a copy of this Year with the specified number of years added.YearYear. previous()Returns the previous year.YearYear. previousLeap()Returns the previous leap year before the current year.YearClock. year()Gets the current year.Methods in javax.time.calendar with parameters of type Year Modifier and Type Method Description intYear. compareTo(Year other)Compares this year to another year.booleanYear. isAfter(Year other)Is this year after the specified year.booleanYear. isBefore(Year other)Is this year before the specified year.YearMonthYearMonth. with(Year year)Returns a copy of this YearMonth with the year altered. -
Uses of Year in javax.time.calendar.zone
Fields in javax.time.calendar.zone declared as Year Modifier and Type Field Description (package private) YearTZDBZoneRulesCompiler.TZDBZone. yearThe year of the cutover.Fields in javax.time.calendar.zone with type parameters of type Year Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<Year,ZoneOffsetTransition[]>StandardZoneRules. lastRulesCacheThe map of recent transitions.
-