Package | Description |
---|---|
com.norconex.commons.lang.time |
Time-related utility classes.
|
Modifier and Type | Method and 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() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
YearMonthDayInterval(YearMonthDay start,
YearMonthDay end) |
Copyright © 2008–2021 Norconex Inc.. All rights reserved.