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.
  • Uses of Year in javax.time.calendar

    Classes in javax.time.calendar that implement interfaces with type arguments of type Year
    Modifier and Type
    Class
    Description
    final class 
    A year in the ISO-8601 calendar system, such as 2007.
    Methods in javax.time.calendar that return Year
    Modifier and Type
    Method
    Description
    Year.minus(PeriodProvider periodProvider)
    Returns a copy of this Year with 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 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 of Year.
    static Year
    Year.of(Calendrical calendrical)
    Obtains an instance of Year from a calendrical.
    Year.plus(PeriodProvider periodProvider)
    Returns a copy of this Year with 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.
    Returns the previous leap year before the current 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.with(Year year)
    Returns a copy of this YearMonth with the year altered.