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 Year
Year. minus(PeriodProvider periodProvider)
Returns a copy of thisYear
with the specified period subtracted.Year
Year. minusYears(long years)
Returns a copy of this Year with the specified number of years subtracted.Year
Year. next()
Returns the next year.Year
Year. nextLeap()
Returns the next leap year after the current year.static Year
Year. now()
Obtains the current year from the system clock in the default time-zone.static Year
Year. now(Clock clock)
Obtains the current year from the specified clock.static Year
Year. of(int isoYear)
Obtains an instance ofYear
.static Year
Year. of(Calendrical calendrical)
Obtains an instance ofYear
from a calendrical.Year
Year. plus(PeriodProvider periodProvider)
Returns a copy of thisYear
with the specified period added.Year
Year. plusYears(long years)
Returns a copy of this Year with the specified number of years added.Year
Year. previous()
Returns the previous year.Year
Year. previousLeap()
Returns the previous leap year before the current year.Year
Clock. year()
Gets the current year.Methods in javax.time.calendar with parameters of type Year Modifier and Type Method Description int
Year. compareTo(Year other)
Compares this year to another year.boolean
Year. isAfter(Year other)
Is this year after the specified year.boolean
Year. isBefore(Year other)
Is this year before the specified year.YearMonth
YearMonth. 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) Year
TZDBZoneRulesCompiler.TZDBZone. year
The 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. lastRulesCache
The map of recent transitions.
-