Uses of Class
javax.time.calendar.Year
Packages that use Year
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes to implement time-zones and their rules.
-
Uses of Year in javax.time.calendar
Classes in javax.time.calendar that implement interfaces with type arguments of type YearModifier and TypeClassDescriptionfinal classA year in the ISO-8601 calendar system, such as2007.Methods in javax.time.calendar that return YearModifier and TypeMethodDescriptionYear.minus(PeriodProvider periodProvider) Returns a copy of thisYearwith the specified period subtracted.Year.minusYears(long years) Returns a copy of this Year with the specified number of years subtracted.Year.next()Returns the next year.Year.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 YearObtains 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.Year.plus(PeriodProvider periodProvider) Returns a copy of thisYearwith the specified period added.Year.plusYears(long years) Returns a copy of this Year with the specified number of years added.Year.previous()Returns the previous year.Year.previousLeap()Returns the previous leap year before the current year.Clock.year()Gets the current year.Methods in javax.time.calendar with parameters of type YearModifier and TypeMethodDescriptionintCompares this year to another year.booleanIs this year after the specified year.booleanIs this year before the specified 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 YearModifier and TypeFieldDescription(package private) YearTZDBZoneRulesCompiler.TZDBZone.yearThe year of the cutover.Fields in javax.time.calendar.zone with type parameters of type YearModifier and TypeFieldDescriptionprivate final ConcurrentMap<Year, ZoneOffsetTransition[]> StandardZoneRules.lastRulesCacheThe map of recent transitions.