# Uses of Class
com.norconex.commons.lang.time.YearMonthDay

Packages that use YearMonthDay
Package
Description
com.norconex.commons.lang.time
Time-related utility classes.

- ## Uses of YearMonthDay in com.norconex.commons.lang.time

  Methods in com.norconex.commons.lang.time that return YearMonthDay
  Modifier and Type
  Method
  Description
  `YearMonthDay`
  YearMonthDay.`addDays(int numOfDays)`
  Adds a number of days to a new created YearMonthDay.
  `YearMonthDay`
  YearMonthDay.`addMonths(int numOfMonths)`
  Adds a number of months to a new created YearMonthDay.
  `YearMonthDay`
  YearMonthDay.`addYears(int numOfYears)`
  Adds a number of years to a new created YearMonthDay.
  `YearMonthDay`
  YearMonthDayInterval.`getEnd()`
  `YearMonthDay`
  YearMonthDayInterval.`getStart()`
  Methods in com.norconex.commons.lang.time with parameters of type YearMonthDay
  Modifier and Type
  Method
  Description
  `int`
  YearMonthDay.`compareTo(YearMonthDay ymd)`
  `boolean`
  YearMonthDayInterval.`contains(YearMonthDay ymd)`
  Whether the YearMonthDay falls between this interval (inclusive endpoints).
  `boolean`
  YearMonthDay.`isAfter(YearMonthDay ymd)`
  Whether this YearMonthDay represents a date after the given YearMonthDay.
  `boolean`
  YearMonthDay.`isBefore(YearMonthDay ymd)`
  Whether this YearMonthDay represents a date before the given YearMonthDay.
  Constructors in com.norconex.commons.lang.time with parameters of type YearMonthDay
  Modifier
  Constructor
  Description
  ``
  `YearMonthDayInterval(YearMonthDay start, YearMonthDay end)`