Uses of Class
org.lukashian.Year

Packages that use Year
Package
Description
 
  • Uses of Year in org.lukashian

    Methods in org.lukashian that return Year
    Modifier and Type
    Method
    Description
    Returns the year that this Day ends in.
    Day.getYear()
    Returns the year of this Day, which is the year this day starts in.
    Instant.getYear()
    Returns the year that this instant is in.
    Year.minusYears(int yearsToSubtract)
    Returns a new Year that represents this year minus the given amount of years.
    Year.next()
    Returns a new Year that represents the year succeeding this year.
    static Year
    Year.now()
    Returns the current Year.
    static Year
    Year.of(int year)
    Creates a new Year representing the given year.
    Year.plusYears(int yearsToAdd)
    Returns a new Year that represents this year plus the given amount of years.
    Year.previous()
    Returns a new Year that represents the year preceding this year.
    Methods in org.lukashian with parameters of type Year
    Modifier and Type
    Method
    Description
    int
    Year.compareTo(Year other)
     
    int
    Year.differenceWith(Year other)
    Returns the difference of the numerical year values of this year and the given non-null Year.
    static String
    Formatter.format(Year year)
    Formats the given year by simply returning the year as a String.
    boolean
    Year.isAfter(Year other)
    Returns whether this year is after the given non-null Year.
    boolean
    Year.isBefore(Year other)
    Returns whether this year is before the given non-null Year.
    boolean
    Day.isIn(Year year)
    Returns whether this day is in the given non-null Year.
    boolean
    Instant.isIn(Year year)
    Returns whether this instant is in the given non-null Year.
    boolean
    Day.isNotIn(Year year)
    Returns whether this day is not in the given non-null Year.
    boolean
    Instant.isNotIn(Year year)
    Returns whether this instant is not in the given non-null Year.
    boolean
    Year.isSameOrAfter(Year other)
    Returns whether this year is the same or after the given non-null Year.
    boolean
    Year.isSameOrBefore(Year other)
    Returns whether this year is the same or before the given non-null Year.
    static Day
    Day.of(Year year, int day)
    Creates a new Day representing the given day in the given year.
    static Instant
    Instant.of(Year year, int day, int beeps)
    Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
    static Instant
    Instant.of(Year year, int day, org.apache.commons.numbers.fraction.BigFraction proportionOfDay)
    Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.